mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #9158 from liamwhite/single-bore
k_thread: fix single core
This commit is contained in:
commit
d8ff939edc
1 changed files with 4 additions and 2 deletions
|
@ -1185,8 +1185,10 @@ void KThread::RequestDummyThreadWait() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void KThread::DummyThreadBeginWait() {
|
void KThread::DummyThreadBeginWait() {
|
||||||
ASSERT(this->IsDummyThread());
|
if (!this->IsDummyThread() || kernel.IsPhantomModeForSingleCore()) {
|
||||||
ASSERT(!kernel.IsPhantomModeForSingleCore());
|
// Occurs in single core mode.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Block until runnable is no longer false.
|
// Block until runnable is no longer false.
|
||||||
dummy_thread_runnable.wait(false);
|
dummy_thread_runnable.wait(false);
|
||||||
|
|
Loading…
Reference in a new issue