mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 16:25:45 +00:00
kernel: make current thread pointer thread local
This commit is contained in:
parent
4548e74d3f
commit
83f1ecb73b
13 changed files with 69 additions and 52 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue