diff options
| author | 2022-10-29 13:19:33 -0700 | |
|---|---|---|
| committer | 2022-11-03 21:17:06 -0700 | |
| commit | 37b17252d175478dea7e1eeaf7332da1558f0373 (patch) | |
| tree | e3e38213f59bbbc38938eec9c69097742cf3b8a0 /src/core/hle/kernel/svc.cpp | |
| parent | core: hle: kernel: Add KDebug. (diff) | |
| download | yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.gz yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.tar.xz yuzu-37b17252d175478dea7e1eeaf7332da1558f0373.zip | |
core: hle: kernel: Add KEventInfo.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
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) { | |||
| 2246 | auto& core_timing = system.CoreTiming(); | 2246 | auto& core_timing = system.CoreTiming(); |
| 2247 | 2247 | ||
| 2248 | // Returns the value of cntpct_el0 (https://switchbrew.org/wiki/SVC#svcGetSystemTick) | 2248 | // Returns the value of cntpct_el0 (https://switchbrew.org/wiki/SVC#svcGetSystemTick) |
| 2249 | const u64 result{system.CoreTiming().GetClockTicks()}; | 2249 | const u64 result{core_timing.GetClockTicks()}; |
| 2250 | 2250 | ||
| 2251 | if (!system.Kernel().IsMulticore()) { | 2251 | if (!system.Kernel().IsMulticore()) { |
| 2252 | core_timing.AddTicks(400U); | 2252 | core_timing.AddTicks(400U); |