summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/arm/arm_interface.cpp')
-rw-r--r--src/core/arm/arm_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index 6425e131f..8e095cdcd 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -95,7 +95,7 @@ void ARM_Interface::Run() {
95 using Kernel::SuspendType; 95 using Kernel::SuspendType;
96 96
97 while (true) { 97 while (true) {
98 Kernel::KThread* current_thread{system.Kernel().CurrentScheduler()->GetCurrentThread()}; 98 Kernel::KThread* current_thread{Kernel::GetCurrentThreadPointer(system.Kernel())};
99 Dynarmic::HaltReason hr{}; 99 Dynarmic::HaltReason hr{};
100 100
101 // Notify the debugger and go to sleep if a step was performed 101 // Notify the debugger and go to sleep if a step was performed