Skip to content

Commit

Permalink
Derp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 16, 2024
1 parent ed74b7a commit 17aed51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/bootloaderi/source/arm7/main.arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ static void loadBinary_ARM7(const tDSiHeader* dsiHeaderTemp, aFile* file) {
if ((u32)dsiHeaderTemp->ndshdr.arm9destination < 0x02400000) {
fileRead(dsiHeaderTemp->ndshdr.arm9destination, file, srlAddr+dsiHeaderTemp->ndshdr.arm9romOffset, dsiHeaderTemp->ndshdr.arm9binarySize);
}
if (((u32)ndsHeader->arm9destination+ndsHeader->arm9binarySize) < DONOR_ROM_ARM7_LOCATION && *(u32*)DONOR_ROM_ARM7_SIZE_LOCATION == 0) {
if (((u32)dsiHeaderTemp->ndshdr.arm9destination+dsiHeaderTemp->ndshdr.arm9binarySize) < DONOR_ROM_ARM7_LOCATION && *(u32*)DONOR_ROM_ARM7_SIZE_LOCATION == 0) {
fileRead(dsiHeaderTemp->ndshdr.arm7destination, file, srlAddr+dsiHeaderTemp->ndshdr.arm7romOffset, dsiHeaderTemp->ndshdr.arm7binarySize);
}
}
Expand Down

0 comments on commit 17aed51

Please sign in to comment.