summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-05 18:25:29 +0100
committerGitHub <noreply@github.com>2022-11-05 18:25:29 +0100
commit4c198bbf06fe7b72d4718cf3571e99b6169e9f47 (patch)
tree3f091be57ce7198ee53b721b160a454ef6dee913 /src/core/hle/kernel/svc.cpp
parentMerge pull request #9189 from vonchenplus/stupid (diff)
parentcore: hle: kernel: Address review comments. (diff)
downloadyuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.tar
yuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.tar.gz
yuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.tar.bz2
yuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.tar.lz
yuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.tar.xz
yuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.tar.zst
yuzu-4c198bbf06fe7b72d4718cf3571e99b6169e9f47.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 4c819f4b6..ecac97a52 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -2247,7 +2247,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);