调整了size

This commit is contained in:
anod 2023-03-17 21:06:43 +08:00
parent f830537f9e
commit 302ef55d01

View File

@ -401,7 +401,7 @@ static CodeLocation rom_fit_newsize( CodeLocation rom, int realend, int totalsiz
// grow cart volumn // grow cart volumn
else if( szrom < size || nextPow2(size) != nextPow2(szrom) ) else if( szrom < size || nextPow2(size) != nextPow2(szrom) )
*newsize = size + INSTR_SIZE; *newsize = size;
return rom + INSTR_LEN( realend ); return rom + INSTR_LEN( realend );
} }