summaryrefslogtreecommitdiff
path: root/src/core/core_timing.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-02-11 19:56:24 -0400
committerGravatar FernandoS272020-02-11 20:19:11 -0400
commit1e6f8aba04b7be0f90b97aed2527558c755935d6 (patch)
treedea6dc5efd324eb6bc8667a114e20c6e91a28195 /src/core/core_timing.cpp
parentKernel: Refactor synchronization to better match RE (diff)
downloadyuzu-1e6f8aba04b7be0f90b97aed2527558c755935d6.tar.gz
yuzu-1e6f8aba04b7be0f90b97aed2527558c755935d6.tar.xz
yuzu-1e6f8aba04b7be0f90b97aed2527558c755935d6.zip
Core: Set all hardware emulation constants in a single file.
Diffstat (limited to 'src/core/core_timing.cpp')
-rw-r--r--src/core/core_timing.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index aa09fa453..46d4178c4 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -12,6 +12,7 @@
12#include "common/assert.h" 12#include "common/assert.h"
13#include "common/thread.h" 13#include "common/thread.h"
14#include "core/core_timing_util.h" 14#include "core/core_timing_util.h"
15#include "core/hardware_properties.h"
15 16
16namespace Core::Timing { 17namespace Core::Timing {
17 18
@@ -215,7 +216,7 @@ void CoreTiming::Idle() {
215} 216}
216 217
217std::chrono::microseconds CoreTiming::GetGlobalTimeUs() const { 218std::chrono::microseconds CoreTiming::GetGlobalTimeUs() const {
218 return std::chrono::microseconds{GetTicks() * 1000000 / BASE_CLOCK_RATE}; 219 return std::chrono::microseconds{GetTicks() * 1000000 / Hardware::BASE_CLOCK_RATE};
219} 220}
220 221
221s64 CoreTiming::GetDowncount() const { 222s64 CoreTiming::GetDowncount() const {