diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 49b922f..a0ed926 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -445,7 +445,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut) acl_open_lib( "gba.acl" ); acl_select_game( gamecode, 0, NULL ); hookpoint_analyzer ha = {read_hookpoint_file, path}; - apply_cheat( g_oafConfig.cheatMode, fileSize, NULL, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize ); + apply_cheat( g_oafConfig.cheatMode, fileSize, &ha, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize ); acl_close_lib(); fini_current_cheat(); }