summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/scheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/scheduler.cpp')
-rw-r--r--src/core/hle/kernel/scheduler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp
index 11c2cb69e..ca8807e19 100644
--- a/src/core/hle/kernel/scheduler.cpp
+++ b/src/core/hle/kernel/scheduler.cpp
@@ -85,6 +85,7 @@ void Scheduler::SwitchContext(Thread* new_thread) {
85 85
86 cpu_core->LoadContext(new_thread->context); 86 cpu_core->LoadContext(new_thread->context);
87 cpu_core->SetTlsAddress(new_thread->GetTLSAddress()); 87 cpu_core->SetTlsAddress(new_thread->GetTLSAddress());
88 cpu_core->ClearExclusiveState();
88 } else { 89 } else {
89 current_thread = nullptr; 90 current_thread = nullptr;
90 // Note: We do not reset the current process and current page table when idling because 91 // Note: We do not reset the current process and current page table when idling because