From 791d40cf91cc295f8d298841ef6e746e38b0237a Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Sat, 11 Mar 2023 12:30:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=89=E4=B8=AA=E5=9C=B0=E6=96=B9=E6=8C=87?= =?UTF-8?q?=E9=92=88=E7=B1=BB=E5=9E=8B=E5=B0=91=E5=86=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/cheat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/arm11/cheat.c b/source/arm11/cheat.c index 5426541..86366b6 100644 --- a/source/arm11/cheat.c +++ b/source/arm11/cheat.c @@ -421,7 +421,7 @@ static void rom_append_cheatproc( int mode, CodeLocation start, u16 bindkey, u32 memcpy( start, MEM_OVERWRITE_INSTR, MO_INSTR_SIZE ); start += MO_INSTR_LEN; - u16 overwrite = CCHT_OVERWRITE(setting); + u16 *overwrite = CCHT_OVERWRITE(setting); for( int i=0; i < setting.entLen; ++i ) { u16 val = setting.entArr[i];