GPU: Tweaks to ODE handling

Fixes Team Buddies and The Next Tetris.
This commit is contained in:
Connor McLaughlin committed 2020-08-16 00:20:10 +10:00
1 parent a8699d9908
commit d4665e8b22
5 files changed
+25 -17

No files matched your search

+3 -3
View File
@@ -172,12 +172,12 @@ void RunEvents()
UpdateCPUDowncount();
}
bool DoState(StateWrapper& sw, u32 global_tick_counter)
bool DoState(StateWrapper& sw)
{
sw.Do(&s_global_tick_counter);
if (sw.IsReading())
{
s_global_tick_counter = global_tick_counter;
// Load timestamps for the clock events.
// Any oneshot events should be recreated by the load state method, so we can fix up their times here.
u32 event_count = 0;