mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
继续增加日志信息
This commit is contained in:
parent
5c199413cb
commit
048c740869
@ -410,6 +410,7 @@ cheat_error_t apply_cheat( int mode, u32 szrom, u16 bindkey, u32 storagemem, u32
|
||||
// try ignore patch
|
||||
if( mode == CHEAT_MODE_DISABLED ) return CCHT_OK;
|
||||
if( setting.chtId == 0 ) return CCHT_OK;
|
||||
debug_printf( "see the cheat id: %08x", setting.chtId );
|
||||
if( ACHTLIB_SUCCESS != acl_select_cheat_set( setting.chtId ) )
|
||||
return CCHT_NO_CHEAT;
|
||||
|
||||
|
@ -397,7 +397,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut)
|
||||
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);
|
||||
debug_printf("cheat res: %s => %d\n", gamecode, err);
|
||||
acl_close_lib();
|
||||
fini_current_cheat();
|
||||
*romSizeOut = fixRomPadding(fileSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user