From 43839d3f8e748588577e64f743c8e01b84ed351e Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Sun, 12 Nov 2023 02:29:30 -0700 Subject: [PATCH] Print that cheats are found in the log --- retail/bootloader/source/arm7/hook_arm7.c | 1 + retail/bootloaderi/source/arm7/hook_arm7.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/retail/bootloader/source/arm7/hook_arm7.c b/retail/bootloader/source/arm7/hook_arm7.c index 52fda0e31..89e0eae1e 100644 --- a/retail/bootloader/source/arm7/hook_arm7.c +++ b/retail/bootloader/source/arm7/hook_arm7.c @@ -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); diff --git a/retail/bootloaderi/source/arm7/hook_arm7.c b/retail/bootloaderi/source/arm7/hook_arm7.c index c4280b8d6..72d1a3b07 100644 --- a/retail/bootloaderi/source/arm7/hook_arm7.c +++ b/retail/bootloaderi/source/arm7/hook_arm7.c @@ -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"); } }