mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +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)
|
||||
{
|
||||
case SyncMode::PauseOnGate:
|
||||
case SyncMode::FreeRunOnGate:
|
||||
cs.counting_enabled = !cs.gate;
|
||||
break;
|
||||
|
||||
|
@ -268,6 +267,7 @@ void Timers::UpdateCountingEnabled(CounterState& cs)
|
|||
break;
|
||||
|
||||
case SyncMode::ResetAndRunOnGate:
|
||||
case SyncMode::FreeRunOnGate:
|
||||
cs.counting_enabled = cs.gate;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue