还是加日志

This commit is contained in:
anod 2023-03-07 18:41:05 +08:00
parent 048c740869
commit 086318ce60

View File

@ -410,9 +410,11 @@ 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 ) )
{
debug_printf("select_cheat_set res=%d", acl_select_cheat_set(setting.chtId));
return CCHT_NO_CHEAT;
}
CodeLocation romdata = ROM_LOC;
int realend = end_of_rom(romdata, szrom);