继续测试为何不管用

This commit is contained in:
anod 2023-03-07 17:24:34 +08:00
parent e341ecbe09
commit 41340e1073

View File

@ -391,7 +391,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut)
ptr += 0x100000u; ptr += 0x100000u;
// use the gbaatm cheat // 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); *romSizeOut = fixRomPadding(fileSize);
} }
else res = RES_ROM_TOO_BIG; else res = RES_ROM_TOO_BIG;