summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_process.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-25 19:36:14 +0200
committerLiam <byteslice@airmail.cc>2022-06-25 19:36:14 +0200
commit075155022e90138b4ad99f98eeef95cd30ce32d3 (patch)
tree724e5eb2005139de632e0ff3b761b818ff9dfbdc /src/core/hle/kernel/k_process.cpp
parentMerge pull request #8491 from Morph1984/extra-assert (diff)
downloadyuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.tar
yuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.tar.gz
yuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.tar.bz2
yuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.tar.lz
yuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.tar.xz
yuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.tar.zst
yuzu-075155022e90138b4ad99f98eeef95cd30ce32d3.zip
Diffstat (limited to 'src/core/hle/kernel/k_process.cpp')
-rw-r--r--src/core/hle/kernel/k_process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp
index cb84c20e3..77356e592 100644
--- a/src/core/hle/kernel/k_process.cpp
+++ b/src/core/hle/kernel/k_process.cpp
@@ -161,7 +161,7 @@ bool KProcess::ReleaseUserException(KThread* thread) {
std::addressof(num_waiters),
reinterpret_cast<uintptr_t>(std::addressof(exception_thread)));
next != nullptr) {
- next->SetState(ThreadState::Runnable);
+ next->EndWait(ResultSuccess);
}
KScheduler::SetSchedulerUpdateNeeded(kernel);