summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-03-29 22:12:02 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-15 17:55:09 +0200
commitb8b7ebcece955316680a09eb68b891e0acff9fcc (patch)
treeaa91993f95efbd8d44ef00bd535260cc32feebd1 /src/core/hle/kernel
parentCorrect Supervisor Calls to work with the new scheduler, (diff)
downloadyuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.gz
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.bz2
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.lz
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.xz
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.tar.zst
yuzu-b8b7ebcece955316680a09eb68b891e0acff9fcc.zip
Diffstat (limited to 'src/core/hle/kernel')
-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() {
}
};
- stop_threads(system.Scheduler(0).GetThreadList());
- stop_threads(system.Scheduler(1).GetThreadList());
- stop_threads(system.Scheduler(2).GetThreadList());
- stop_threads(system.Scheduler(3).GetThreadList());
+ stop_threads(system.GlobalScheduler().GetThreadList());
FreeTLSRegion(tls_region_address);
tls_region_address = 0;