mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 09:40:58 +02:00
Core: Make play time tracking use SteadyAwakeClock.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user