fix bug in linux rom loading resulting from code changes for smaller roms
This commit is contained in:
parent
0c671d2a4b
commit
ea70941994
|
@ -887,6 +887,8 @@ int NDS_LoadROM(const char *filename, const char *logicalFilename)
|
|||
mask |= (mask >>8);
|
||||
mask |= (mask >>16);
|
||||
|
||||
gameInfo.resize(size);
|
||||
|
||||
// Make sure old ROM is freed first(at least this way we won't be eating
|
||||
// up a ton of ram before the old ROM is freed)
|
||||
if(MMU.CART_ROM != MMU.UNUSED_RAM)
|
||||
|
|
Loading…
Reference in New Issue