Skip to content

Commit

Permalink
Fix #1651
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 16, 2023
1 parent 43c946c commit 2887b1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion retail/bootloader/source/arm7/patch_arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ u32 patchCardNdsArm7(
if (a7GetReloc(ndsHeader, moduleParams)) {
u32 saveResult = 0;

if (newArm7binarySize==0x2352C || newArm7binarySize==0x235DC || newArm7binarySize==0x23CAC || newArm7binarySize==0x245C4) {
if (newArm7binarySize==0x2352C || newArm7binarySize==0x235DC || newArm7binarySize==0x23CAC || newArm7binarySize==0x245C0 || newArm7binarySize==0x245C4) {
saveResult = savePatchInvertedThumb(ce7, ndsHeader, moduleParams, saveFileCluster);
} else if (isSdk5(moduleParams)) {
// SDK 5
Expand Down
2 changes: 1 addition & 1 deletion retail/bootloaderi/source/arm7/patch_arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ u32 patchCardNdsArm7(
patchMirrorCheck(ndsHeader, moduleParams);
u32 saveResult = 0;

if (newArm7binarySize==0x2352C || newArm7binarySize==0x235DC || newArm7binarySize==0x23CAC || newArm7binarySize==0x245C4) {
if (newArm7binarySize==0x2352C || newArm7binarySize==0x235DC || newArm7binarySize==0x23CAC || newArm7binarySize==0x245C0 || newArm7binarySize==0x245C4) {
saveResult = savePatchInvertedThumb(ce7, ndsHeader, moduleParams, saveFileCluster, saveSize);
} else if (isSdk5(moduleParams)) {
// SDK 5
Expand Down

0 comments on commit 2887b1b

Please sign in to comment.