mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
TimingEvent: Fix event list getting unsorted on Delay
This commit is contained in:
parent
642f8041e9
commit
b41d56d305
|
@ -401,6 +401,9 @@ void TimingEvent::Delay(TickCount ticks)
|
|||
}
|
||||
|
||||
m_downcount += ticks;
|
||||
|
||||
DebugAssert(TimingEvents::s_current_event != this);
|
||||
TimingEvents::SortEvent(this);
|
||||
}
|
||||
|
||||
void TimingEvent::Schedule(TickCount ticks)
|
||||
|
|
Loading…
Reference in a new issue