Fix for Battle Garegga - crash on savestate load

This commit is contained in:
dinkc64 2014-03-31 04:14:48 +00:00
parent 128e049b5d
commit 232634c08c
1 changed files with 2 additions and 0 deletions

View File

@ -434,7 +434,9 @@ static INT32 DrvScan(INT32 nAction,INT32 *pnMin)
if (nAction & ACB_WRITE) {
INT32 nBank = nCurrentBank;
nCurrentBank = -1;
ZetOpen(0); // March 28, 2014: Fix for crash on savestate load - dink
drvZ80Bankswitch(nBank);
ZetClose();
}
}