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
bedf6a0389
commit
7942225edc
@ -1,5 +1,6 @@
|
||||
#include "arm11/acl.h"
|
||||
#include "arm11/cheat.h"
|
||||
#include "arm11/fmt.h"
|
||||
#include "util.h"
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
@ -420,6 +421,7 @@ static void rom_append_cheatproc( int mode, CodeLocation start, u16 bindkey, u32
|
||||
cheat_error_t apply_cheat( int mode, u32 szrom, u16 bindkey, u32 storagemem, u32 *outsize )
|
||||
{
|
||||
// try ignore patch
|
||||
debug_printf("see the id: %08x\n", setting.chtId);
|
||||
if( mode == CHEAT_MODE_DISABLED ) return CCHT_OK;
|
||||
if( setting.chtId == 0 ) return CCHT_OK;
|
||||
if( ACHTLIB_SUCCESS != acl_select_cheat_set( setting.chtId ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user