Skip to content

Commit

Permalink
Fix #1646
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 27, 2023
1 parent 7889367 commit 582f22c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions retail/bootloader/source/arm7/hook_arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ int hookNdsRetailArm7(
u32 cheatEngineAddr = CHEAT_ENGINE_LOCATION_B4DS;
if (!extendedMemory && strncmp(romTid, "CLJ", 3) == 0) { // Mario & Luigi: Bowser's Inside Story
cheatEngineAddr = 0x02002000;
} else if ((strncmp(romTid, "YEE", 3) == 0 && romTid[3] != 'J') || strncmp(romTid, "BEB", 3) == 0 || strncmp(romTid, "BEE", 3) == 0) { // Inazuma Eleven: Fix AP-fix causing undefined instruction
cheatEngineAddr = (u32)ce7-0x2000;
}

ce7->intr_vblank_orig_return = *vblankHandler;
Expand Down

0 comments on commit 582f22c

Please sign in to comment.