Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 11, 2024
1 parent c8447a8 commit ac92397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/bootloaderi/source/arm7/hook_arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ int hookNdsRetailArm7(
romOffset = ndsHeader->arm9overlaySource;
}
ce7->romLocation -= romOffset;
if (dataToPreloadFound(ndsHeader) && dataToPreloadFrame) {
if (!ROMinRAM && dataToPreloadFound(ndsHeader) && dataToPreloadFrame) {
ce7->romPartLocation = romPartLocation;
ce7->romPartSrc = dataToPreloadAddr;
ce7->romPartSize = dataToPreloadSize;
Expand Down

0 comments on commit ac92397

Please sign in to comment.