summaryrefslogtreecommitdiff
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-06-19 09:11:18 -0400
committerGravatar FernandoS272019-10-15 11:55:12 -0400
commit82218c925af8bcbaa05ae9f39af2d2393de7681f (patch)
treee38d90c4838679ae59d58f51fff2904b16b1a155 /src/core/core_cpu.cpp
parentCorrect PrepareReschedule (diff)
downloadyuzu-82218c925af8bcbaa05ae9f39af2d2393de7681f.tar.gz
yuzu-82218c925af8bcbaa05ae9f39af2d2393de7681f.tar.xz
yuzu-82218c925af8bcbaa05ae9f39af2d2393de7681f.zip
Kernel: Style and Corrections
Diffstat (limited to 'src/core/core_cpu.cpp')
-rw-r--r--src/core/core_cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp
index 2a7c3af24..a6f63e437 100644
--- a/src/core/core_cpu.cpp
+++ b/src/core/core_cpu.cpp
@@ -111,7 +111,7 @@ void Cpu::PrepareReschedule() {
111 111
112void Cpu::Reschedule() { 112void Cpu::Reschedule() {
113 // Lock the global kernel mutex when we manipulate the HLE state 113 // Lock the global kernel mutex when we manipulate the HLE state
114 std::lock_guard<std::recursive_mutex> lock(HLE::g_hle_lock); 114 std::lock_guard lock(HLE::g_hle_lock);
115 115
116 global_scheduler.SelectThread(core_index); 116 global_scheduler.SelectThread(core_index);
117 scheduler->TryDoContextSwitch(); 117 scheduler->TryDoContextSwitch();