From 7942225edce25aa80a600401c933e91bc60fefd5 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Thu, 9 Mar 2023 17:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=B8=BA=E4=BD=95=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=97=A0=E9=80=89=E9=A1=B9=E4=BC=9A=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/cheat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/arm11/cheat.c b/source/arm11/cheat.c index 4295144..27ea8c2 100644 --- a/source/arm11/cheat.c +++ b/source/arm11/cheat.c @@ -1,5 +1,6 @@ #include "arm11/acl.h" #include "arm11/cheat.h" +#include "arm11/fmt.h" #include "util.h" #include #include @@ -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 ) )