summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-15 09:25:11 -0400
committerGravatar Lioncash2018-10-15 14:15:56 -0400
commit5484742fdaf036db03ac7b8c746df5004f74efad (patch)
tree71f2f25319773fa718ade73b59fccccfbceedb12 /src/core/hle/kernel/svc.cpp
parentcore: Make the live Cpu instances unique_ptrs instead of shared_ptrs (diff)
downloadyuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.gz
yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.xz
yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.zip
core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrs
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 7a053da1e..3e5f11f2b 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -809,7 +809,7 @@ static ResultCode SignalProcessWideKey(VAddr condition_variable_addr, s32 target
809 std::vector<SharedPtr<Thread>>& waiting_threads, 809 std::vector<SharedPtr<Thread>>& waiting_threads,
810 VAddr condvar_addr) { 810 VAddr condvar_addr) {
811 const auto& scheduler = Core::System::GetInstance().Scheduler(core_index); 811 const auto& scheduler = Core::System::GetInstance().Scheduler(core_index);
812 const auto& thread_list = scheduler->GetThreadList(); 812 const auto& thread_list = scheduler.GetThreadList();
813 813
814 for (const auto& thread : thread_list) { 814 for (const auto& thread : thread_list) {
815 if (thread->GetCondVarWaitAddress() == condvar_addr) 815 if (thread->GetCondVarWaitAddress() == condvar_addr)