mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Timers: Fix sync mode 3 inverted condition
This commit is contained in:
parent
88936463d7
commit
0b7abf244e
|
@ -259,7 +259,6 @@ void Timers::UpdateCountingEnabled(CounterState& cs)
|
||||||
switch (cs.mode.sync_mode)
|
switch (cs.mode.sync_mode)
|
||||||
{
|
{
|
||||||
case SyncMode::PauseOnGate:
|
case SyncMode::PauseOnGate:
|
||||||
case SyncMode::FreeRunOnGate:
|
|
||||||
cs.counting_enabled = !cs.gate;
|
cs.counting_enabled = !cs.gate;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -268,6 +267,7 @@ void Timers::UpdateCountingEnabled(CounterState& cs)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SyncMode::ResetAndRunOnGate:
|
case SyncMode::ResetAndRunOnGate:
|
||||||
|
case SyncMode::FreeRunOnGate:
|
||||||
cs.counting_enabled = cs.gate;
|
cs.counting_enabled = cs.gate;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue