TimingEvent: Fix crash when invalid save state loaded
This commit is contained in:
parent
2c36750a0e
commit
976d4bae79
|
@ -207,6 +207,7 @@ static void RemoveActiveEvent(TimingEvent* event)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
s_active_events_head = event->next;
|
s_active_events_head = event->next;
|
||||||
|
if (s_active_events_head)
|
||||||
UpdateCPUDowncount();
|
UpdateCPUDowncount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue