mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Emulator] Resume should resume threads that are paused, not running
This commit is contained in:
parent
e7e3cfc7fb
commit
ada971aefc
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue