aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-05 13:25:29 -0400
committerGitHub <noreply@github.com>2022-11-05 13:25:29 -0400
commitc14f27ee5f960c4b49f897307db3f75a711d808a (patch)
tree3f091be57ce7198ee53b721b160a454ef6dee913 /src/core/hle/kernel/svc.cpp
parent8aa03d550a6cb9c896c523b444c26f00ad855039 (diff)
parentf31c2e7f79135462fc260432e6dc84833e030e7a (diff)
Merge pull request #9173 from bunnei/kern-update-15
Kernel: Various updates for FW 15.0.x
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 4c819f4b66..ecac97a529 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);