Amiga: DMACON coalescing fix

This commit is contained in:
tildearrow 2023-03-15 18:51:42 -05:00
parent 3ff3a9952a
commit b9cddb21d0

View file

@ -415,7 +415,7 @@ void DivPlatformAmiga::tick(bool sysTick) {
}
}
rWrite(0x96,dmaOff);
if (dmaOff) rWrite(0x96,dmaOff);
for (int i=0; i<4; i++) {
double off=1.0;
@ -506,7 +506,7 @@ void DivPlatformAmiga::tick(bool sysTick) {
}
}
rWrite(0x96,0x8000|dmaOn);
if (dmaOn) rWrite(0x96,0x8000|dmaOn);
for (int i=0; i<4; i++) {
if ((dmaOn&(1<<i)) && dumpWrites) {