From 778c9c71e7a8a9fa3b4eb5687d7a4a39bee8ad25 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Thu, 9 Mar 2023 18:44:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drelease=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E7=BA=A2=E5=B1=8F=E7=9A=84=E9=97=AE=E9=A2=98?= 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 faaf002..1f3747e 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -397,7 +397,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut) fClose(f); // use the gbaatm cheat - if( g_oafConfig.cheatMode != CHEAT_MODE_DISABLED ) + if( g_oafConfig.cheatMode != CHEAT_MODE_DISABLED && info_current_cheat(NULL, NULL) != CCHT_NOT_INIT ) { char gamecode[5]; memcpy( gamecode, ROM_LOC+0xac, 4 );