From 41340e107306c37d533d4f49ad32e6480b76667a Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Tue, 7 Mar 2023 17:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=B5=8B=E8=AF=95=E4=B8=BA?= =?UTF-8?q?=E4=BD=95=E4=B8=8D=E7=AE=A1=E7=94=A8?= 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 5c01feb..1fe9679 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -391,7 +391,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut) ptr += 0x100000u; // use the gbaatm cheat - apply_cheat( CHEAT_MODE_ENABYKEY, fileSize, 900, CHEAT_INUSE_ADDR, &fileSize ); + apply_cheat( g_oafConfig.cheatMode, fileSize, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize ); *romSizeOut = fixRomPadding(fileSize); } else res = RES_ROM_TOO_BIG;