diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-03-29 17:12:02 -0400 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-15 11:55:09 -0400 |
commit | b8b7ebcece955316680a09eb68b891e0acff9fcc (patch) | |
tree | aa91993f95efbd8d44ef00bd535260cc32feebd1 /src/core/hle/kernel/process.cpp | |
parent | 9031502974fa25c9c8521ad96ecc8126fcac51c6 (diff) |
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.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index e80a12ac35..12a900bcc4 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; |