summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-10-29 22:19:33 +0200
committerbunnei <bunneidev@gmail.com>2022-11-04 05:17:06 +0100
commit37b17252d175478dea7e1eeaf7332da1558f0373 (patch)
treee3e38213f59bbbc38938eec9c69097742cf3b8a0 /src/core/hle/kernel/svc.cpp
parentcore: hle: kernel: Add KDebug. (diff)
downloadyuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar
yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.gz
yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.bz2
yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.lz
yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.xz
yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.zst
yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.zip
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 4aca5b27d..319c9f572 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -2246,7 +2246,7 @@ static u64 GetSystemTick(Core::System& system) {
auto& core_timing = system.CoreTiming();
// Returns the value of cntpct_el0 (https://switchbrew.org/wiki/SVC#svcGetSystemTick)
- const u64 result{system.CoreTiming().GetClockTicks()};
+ const u64 result{core_timing.GetClockTicks()};
if (!system.Kernel().IsMulticore()) {
core_timing.AddTicks(400U);