mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 20:25:45 -04:00
Timers: Fix sync mode 3 inverted condition
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user