mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
Core: Make play time tracking use SteadyAwakeClock.
This commit is contained in:
parent
62c773ac75
commit
81ebf45c9b
@ -72,8 +72,8 @@ void CPUManager::StartTimePlayedTimer()
|
||||
{
|
||||
Common::SetCurrentThreadName("Play Time Tracker");
|
||||
|
||||
// Steady clock for greater accuracy of timing
|
||||
std::chrono::steady_clock timer;
|
||||
// Use a clock that will appropriately ignore suspended system time.
|
||||
Common::SteadyAwakeClock timer;
|
||||
auto prev_time = timer.now();
|
||||
|
||||
while (true)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user