mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 19:12:47 +02:00
CoreTiming: Call UpdatePerformanceMonitor on idle
This commit is contained in:
parent
1d489b3fd5
commit
f8f3548ca9
@ -380,6 +380,7 @@ void Idle()
|
|||||||
Fifo::FlushGpu();
|
Fifo::FlushGpu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PowerPC::UpdatePerformanceMonitor(PowerPC::ppcState.downcount, 0, 0);
|
||||||
s_idled_cycles += DowncountToCycles(PowerPC::ppcState.downcount);
|
s_idled_cycles += DowncountToCycles(PowerPC::ppcState.downcount);
|
||||||
PowerPC::ppcState.downcount = 0;
|
PowerPC::ppcState.downcount = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user