summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.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/process.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/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index c80b2c507..073dd5a7d 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -153,11 +153,11 @@ void Process::PrepareForTermination() {
153 } 153 }
154 }; 154 };
155 155
156 auto& system = Core::System::GetInstance(); 156 const auto& system = Core::System::GetInstance();
157 stop_threads(system.Scheduler(0)->GetThreadList()); 157 stop_threads(system.Scheduler(0).GetThreadList());
158 stop_threads(system.Scheduler(1)->GetThreadList()); 158 stop_threads(system.Scheduler(1).GetThreadList());
159 stop_threads(system.Scheduler(2)->GetThreadList()); 159 stop_threads(system.Scheduler(2).GetThreadList());
160 stop_threads(system.Scheduler(3)->GetThreadList()); 160 stop_threads(system.Scheduler(3).GetThreadList());
161} 161}
162 162
163/** 163/**