修正一个bug

This commit is contained in:
anod 2023-03-21 10:08:35 +08:00
parent f4a73b2901
commit bca831ce9b

View File

@ -376,7 +376,7 @@ static CodeLocation rom_fit_newsize( CodeLocation rom, int realend, int totalsiz
}
else if( rom[i] == 0xffffffff )
{
if( szcurrent == 0xffffffff )
if( szcurrent == 0 )
{
START_FREE_BLOCK(0xffffffff);
}