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];