diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-29 06:49:47 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-01-29 06:49:47 +0100 |
commit | e24c6dab93d00676dfb22743534825bb6aa90d7c (patch) | |
tree | 3f09d1b287cda7a6d333fe5b65a55454104d4a52 /src | |
parent | yuzu: debugger: Ignore HLE threads. (diff) | |
download | yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.tar yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.tar.gz yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.tar.bz2 yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.tar.lz yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.tar.xz yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.tar.zst yuzu-e24c6dab93d00676dfb22743534825bb6aa90d7c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_thread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp index 45ad589d9..aa100e139 100644 --- a/src/core/hle/kernel/k_thread.cpp +++ b/src/core/hle/kernel/k_thread.cpp @@ -247,6 +247,7 @@ void KThread::Finalize() { // Decrement the parent process's thread count. if (parent != nullptr) { parent->DecrementThreadCount(); + parent->GetResourceLimit()->Release(ResourceType::Threads, 1); } } |