diff --git a/source/arm11/cheat.c b/source/arm11/cheat.c index b6a7562..e028620 100644 --- a/source/arm11/cheat.c +++ b/source/arm11/cheat.c @@ -352,7 +352,7 @@ static CodeLocation rom_fit_newsize( CodeLocation rom, int realend, int totalsiz else if( nextPow2(size) != nextPow2(szrom) ) { // 似乎没什么要动的 - *newsize = size + 1; // reserve a word for padding + *newsize = size + INSTR_SIZE; // reserve a word for padding return rom + INSTR_LEN( realend ); }