C219: fix bank restore
This commit is contained in:
parent
ca51ee9f32
commit
ead19d6111
|
@ -450,7 +450,7 @@ void DivPlatformC140::forceIns() {
|
||||||
if (is219) {
|
if (is219) {
|
||||||
// restore banks
|
// restore banks
|
||||||
for (int i=0; i<4; i++) {
|
for (int i=0; i<4; i++) {
|
||||||
rWrite(0x1f1+(((3+(i>>2))&3)<<1),groupBank[i>>2]);
|
rWrite(0x1f1+(((3+i)&3)<<1),groupBank[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue