summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-03-29 17:12:02 -0400
committerGravatar FernandoS272019-10-15 11:55:09 -0400
commitb8b7ebcece955316680a09eb68b891e0acff9fcc (patch)
treeaa91993f95efbd8d44ef00bd535260cc32feebd1 /src/core/hle/kernel/process.cpp
parentCorrect Supervisor Calls to work with the new scheduler, (diff)
downloadyuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.gz
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.xz
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.zip
Correct compiling errors and addapt to the new interface.
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index e80a12ac3..12a900bcc 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -213,10 +213,7 @@ void Process::PrepareForTermination() {
213 } 213 }
214 }; 214 };
215 215
216 stop_threads(system.Scheduler(0).GetThreadList()); 216 stop_threads(system.GlobalScheduler().GetThreadList());
217 stop_threads(system.Scheduler(1).GetThreadList());
218 stop_threads(system.Scheduler(2).GetThreadList());
219 stop_threads(system.Scheduler(3).GetThreadList());
220 217
221 FreeTLSRegion(tls_region_address); 218 FreeTLSRegion(tls_region_address);
222 tls_region_address = 0; 219 tls_region_address = 0;