有个地方指针类型少写了

This commit is contained in:
anod 2023-03-11 12:30:36 +08:00
parent fc7c12c257
commit 791d40cf91

View File

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