mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-03-06 14:27:44 +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;
|
m_downcount += ticks;
|
||||||
|
|
||||||
|
DebugAssert(TimingEvents::s_current_event != this);
|
||||||
|
TimingEvents::SortEvent(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TimingEvent::Schedule(TickCount ticks)
|
void TimingEvent::Schedule(TickCount ticks)
|
||||||
|
|
Loading…
Reference in a new issue