Fixed savestates in d_batrider.cpp

This commit is contained in:
Barry Harris 2012-01-04 21:00:26 +00:00
parent 7ec2c5c810
commit 048e6c39b7
1 changed files with 5 additions and 1 deletions

View File

@ -324,11 +324,15 @@ static INT32 drvScan(INT32 nAction, INT32* pnMin)
if (nAction & ACB_WRITE) {
INT32 n = nTextROMStatus;
nTextROMStatus = -1;
SekOpen(0);
Map68KTextROM(n);
SekClose();
n = nCurrentBank;
nCurrentBank = -1;
ZetOpen(0);
drvZ80Bankswitch(n);
ZetClose();
}
}