VERY experimental Nintendo Switch 2 emulator
C++
k_thread: fix single core
Liame9589c859d68
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cppindex d57b42fdf7..cc88d08f03 100644--- a/src/core/hle/kernel/k_thread.cpp+++ b/src/core/hle/kernel/k_thread.cpp@@ -1185,8 +1185,10 @@ void KThread::RequestDummyThreadWait() {}void KThread::DummyThreadBeginWait() {- ASSERT(this->IsDummyThread());- ASSERT(!kernel.IsPhantomModeForSingleCore());+ if (!this->IsDummyThread() || kernel.IsPhantomModeForSingleCore()) {+ // Occurs in single core mode.+ return;+ }// Block until runnable is no longer false.dummy_thread_runnable.wait(false);