summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-10-30 23:44:29 +0100
committerLiam <byteslice@airmail.cc>2022-10-30 23:44:29 +0100
commiteec3184bb0151396e720ff876244aed3829173e2 (patch)
tree885092435651e8d327e4876f2a8ced44b86381e9 /src/core/hle/kernel
parentMerge pull request #9151 from liamwhite/dram-size (diff)
downloadyuzu-eec3184bb0151396e720ff876244aed3829173e2.tar
yuzu-eec3184bb0151396e720ff876244aed3829173e2.tar.gz
yuzu-eec3184bb0151396e720ff876244aed3829173e2.tar.bz2
yuzu-eec3184bb0151396e720ff876244aed3829173e2.tar.lz
yuzu-eec3184bb0151396e720ff876244aed3829173e2.tar.xz
yuzu-eec3184bb0151396e720ff876244aed3829173e2.tar.zst
yuzu-eec3184bb0151396e720ff876244aed3829173e2.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_thread.cpp6
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() {
}
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);