summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-29 23:37:57 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:23 +0200
commite3d561fb842fa9ea986064a9a73001a5889f15d8 (patch)
treeeac6c57ab550d37d5b78a93431d34baa51950fb7 /src/core
parentCommon/Kernel: Corrections and small bug fixing. (diff)
downloadyuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.gz
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.bz2
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.lz
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.xz
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.zst
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_timing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index ed5de9b97..72faaab64 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -72,6 +72,11 @@ public:
this->is_multicore = is_multicore;
}
+ /// Check if it's using host timing.
+ bool IsHostTiming() const {
+ return is_multicore;
+ }
+
/// Pauses/Unpauses the execution of the timer thread.
void Pause(bool is_paused);