[Emulator] Resume should resume threads that are paused, not running

This commit is contained in:
Gliniak 2025-07-29 08:19:53 +02:00 committed by Radosław Gliński
parent e7e3cfc7fb
commit ada971aefc

View file

@ -1099,7 +1099,7 @@ void Emulator::Resume() {
continue; continue;
} }
if (thread->is_running()) { if (!thread->is_running()) {
thread->thread()->Resume(nullptr); thread->thread()->Resume(nullptr);
} }
} }