diff --git a/source/arm11/cheat.c b/source/arm11/cheat.c index 404f94e..024ab27 100644 --- a/source/arm11/cheat.c +++ b/source/arm11/cheat.c @@ -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); }