mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
Core: Make play time tracking use SteadyAwakeClock.
This commit is contained in:
parent
62c773ac75
commit
81ebf45c9b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue