Skip to content

Commit

Permalink
Print that cheats are found in the log
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 12, 2023
1 parent e820c07 commit 43839d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions retail/bootloader/source/arm7/hook_arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ int hookNdsRetailArm7(
}
if (cheatFile.firstCluster != CLUSTER_FREE) {
fileRead(cheatDataOffset, &cheatFile, 0, cheatSize);
dbg_printf("Cheats found and applied\n");
}
}
toncset((u8*)CHEAT_ENGINE_LOCATION_B4DS_BUFFERED, 0, 0x400);
Expand Down
2 changes: 2 additions & 0 deletions retail/bootloaderi/source/arm7/hook_arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,11 @@ int hookNdsRetailArm7(
cheatDataOffset += wideCheatSize;
*(cheatDataOffset + 3) = 0xCF;
ce7->valueBits |= b_wideCheatUsed;
dbg_printf("Wide cheat found and applied\n");
}
if (cheatFile.firstCluster != CLUSTER_FREE) {
fileRead(cheatDataOffset, &cheatFile, 0, cheatSize);
dbg_printf("Cheats found and applied\n");
}
}

Expand Down

0 comments on commit 43839d3

Please sign in to comment.