From feac49d193e0d08489bc38808e5045dfab60e4dc Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Fri, 31 Mar 2023 18:24:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E4=B8=8A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=9A=84hookpoint=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/open_agb_firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }