diff options
| -rw-r--r-- | src/core/hle/kernel/k_thread.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp index d57b42fdf..cc88d08f0 100644 --- a/src/core/hle/kernel/k_thread.cpp +++ b/src/core/hle/kernel/k_thread.cpp | |||
| @@ -1185,8 +1185,10 @@ void KThread::RequestDummyThreadWait() { | |||
| 1185 | } | 1185 | } |
| 1186 | 1186 | ||
| 1187 | void KThread::DummyThreadBeginWait() { | 1187 | void KThread::DummyThreadBeginWait() { |
| 1188 | ASSERT(this->IsDummyThread()); | 1188 | if (!this->IsDummyThread() || kernel.IsPhantomModeForSingleCore()) { |
| 1189 | ASSERT(!kernel.IsPhantomModeForSingleCore()); | 1189 | // Occurs in single core mode. |
| 1190 | return; | ||
| 1191 | } | ||
| 1190 | 1192 | ||
| 1191 | // Block until runnable is no longer false. | 1193 | // Block until runnable is no longer false. |
| 1192 | dummy_thread_runnable.wait(false); | 1194 | dummy_thread_runnable.wait(false); |