From 5c199413cb60149145ebf3f10250a4b3e58686cd Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Tue, 7 Mar 2023 18:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E8=AE=B0=E8=AE=B0=E4=B8=8Aselect=5Fga?= =?UTF-8?q?me=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/open_agb_firm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index d6c8af2..a824484 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -395,6 +395,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut) memcpy( gamecode, ROM_LOC+0xac, 4 ); gamecode[4] = '\0'; acl_open_lib( "gba.acl" ); + acl_select_game( gamecode, 0, NULL ); int err = apply_cheat( g_oafConfig.cheatMode, fileSize, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize ); debug_printf("cheat res: %d\n", err); acl_close_lib();