mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 22:04:10 +08:00
忘记记上select_game了
This commit is contained in:
parent
a4df7db8be
commit
5c199413cb
@ -395,6 +395,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut)
|
|||||||
memcpy( gamecode, ROM_LOC+0xac, 4 );
|
memcpy( gamecode, ROM_LOC+0xac, 4 );
|
||||||
gamecode[4] = '\0';
|
gamecode[4] = '\0';
|
||||||
acl_open_lib( "gba.acl" );
|
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 );
|
int err = apply_cheat( g_oafConfig.cheatMode, fileSize, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize );
|
||||||
debug_printf("cheat res: %d\n", err);
|
debug_printf("cheat res: %d\n", err);
|
||||||
acl_close_lib();
|
acl_close_lib();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user