summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-16 16:35:52 +0200
committerLiam <byteslice@airmail.cc>2022-06-23 06:28:00 +0200
commit2c56e94702e897c609711d82057d8267d8f4d0b3 (patch)
treeb037c6951383408517b460577b709f4383a61da0 /src/core/arm
parentMerge pull request #8491 from Morph1984/extra-assert (diff)
downloadyuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.gz
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.bz2
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.lz
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.xz
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.zst
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.zip
Diffstat (limited to 'src/core/arm')
-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() {
using Kernel::SuspendType;
while (true) {
- Kernel::KThread* current_thread{system.Kernel().CurrentScheduler()->GetCurrentThread()};
+ Kernel::KThread* current_thread{Kernel::GetCurrentThreadPointer(system.Kernel())};
Dynarmic::HaltReason hr{};
// Notify the debugger and go to sleep if a step was performed