mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
CoreTiming: Call UpdatePerformanceMonitor on idle
This commit is contained in:
parent
1d489b3fd5
commit
f8f3548ca9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue