summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-21 02:18:04 +0100
committerbunnei <bunneidev@gmail.com>2021-01-29 06:42:26 +0100
commit89a5ae92bdeb451943665868f59e364259368f11 (patch)
tree43305f06b84784b3c57897d18e8231ceba09b629 /src
parenthle: kernel: KScheduler: Introduce thread context_guard. (diff)
downloadyuzu-89a5ae92bdeb451943665868f59e364259368f11.tar
yuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.gz
yuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.bz2
yuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.lz
yuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.xz
yuzu-89a5ae92bdeb451943665868f59e364259368f11.tar.zst
yuzu-89a5ae92bdeb451943665868f59e364259368f11.zip
Diffstat (limited to 'src')
-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() {
void CpuManager::SingleCoreRunGuestLoop() {
auto& kernel = system.Kernel();
- auto* thread = kernel.CurrentScheduler()->GetCurrentThread();
while (true) {
auto* physical_core = &kernel.CurrentPhysicalCore();
system.EnterDynarmicProfile();