C219: fix bank restore

This commit is contained in:
tildearrow 2023-08-29 03:40:40 -05:00
parent ca51ee9f32
commit ead19d6111
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ void DivPlatformC140::forceIns() {
if (is219) {
// restore banks
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]);
}
}
}