summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-09-14 14:03:10 -0400
committerGravatar Lioncash2020-09-14 14:03:13 -0400
commitec2a6e5ba801d850380742db19c1546ac3ff9c4b (patch)
tree44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/svc.cpp
parentMerge pull request #4636 from lioncash/kernel-hle (diff)
downloadyuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.gz
yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.xz
yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.zip
kernel: Remove all dependencies on the global system instance
With this, the kernel finally doesn't depend directly on the global system instance anymore.
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 01ae57053..bafd1ced7 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -346,7 +346,7 @@ static ResultCode SendSyncRequest(Core::System& system, Handle handle) {
346 SchedulerLock lock(system.Kernel()); 346 SchedulerLock lock(system.Kernel());
347 thread->InvalidateHLECallback(); 347 thread->InvalidateHLECallback();
348 thread->SetStatus(ThreadStatus::WaitIPC); 348 thread->SetStatus(ThreadStatus::WaitIPC);
349 session->SendSyncRequest(SharedFrom(thread), system.Memory()); 349 session->SendSyncRequest(SharedFrom(thread), system.Memory(), system.CoreTiming());
350 } 350 }
351 351
352 if (thread->HasHLECallback()) { 352 if (thread->HasHLECallback()) {