summaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-01-20 17:18:04 -0800
committerGravatar bunnei2021-01-28 21:42:26 -0800
commit89a5ae92bdeb451943665868f59e364259368f11 (patch)
tree43305f06b84784b3c57897d18e8231ceba09b629 /src/core/cpu_manager.cpp
parenthle: kernel: KScheduler: Introduce thread context_guard. (diff)
downloadyuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.gz
yuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.xz
yuzu-89a5ae92bdeb451943665868f59e364259368f11.zip
core: cpu_manager: Remove unused variable.
Diffstat (limited to 'src/core/cpu_manager.cpp')
-rw-r--r--src/core/cpu_manager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 9bbb82b97..8f04fb8f5 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -208,7 +208,6 @@ void CpuManager::SingleCoreRunGuestThread() {
208 208
209void CpuManager::SingleCoreRunGuestLoop() { 209void CpuManager::SingleCoreRunGuestLoop() {
210 auto& kernel = system.Kernel(); 210 auto& kernel = system.Kernel();
211 auto* thread = kernel.CurrentScheduler()->GetCurrentThread();
212 while (true) { 211 while (true) {
213 auto* physical_core = &kernel.CurrentPhysicalCore(); 212 auto* physical_core = &kernel.CurrentPhysicalCore();
214 system.EnterDynarmicProfile(); 213 system.EnterDynarmicProfile();