SVN r4353

Change adlib timer masking
This commit is contained in:
Allofich
2020-06-22 18:27:52 +09:00
parent 537e41c4bc
commit 5df548ee8b

View File

@@ -645,7 +645,7 @@ bool Chip::Write( Bit32u reg, Bit8u val ) {
timer1.Reset( time );
} else {
//timer 0 not masked
if (!(val & 0x40)) {
if (val&0x20) {
if (val & 0x1) {
timer0.Start(time);
}
@@ -654,7 +654,7 @@ bool Chip::Write( Bit32u reg, Bit8u val ) {
}
}
//Timer 1 not masked
if (!(val & 0x20)) {
if (val&0x40) {
if (val & 0x2) {
timer1.Start(time);
}