summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.cpp
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-02-03 02:55:16 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-02-03 02:55:16 +0100
commit2c6e94049362f592bfb578a2b078f6f3067ed0d8 (patch)
tree513aa888bfe87637e8736165b35b852de079b02f /src/core/hle/kernel/k_thread.cpp
parentCompile error (diff)
downloadyuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.tar
yuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.tar.gz
yuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.tar.bz2
yuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.tar.lz
yuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.tar.xz
yuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.tar.zst
yuzu-2c6e94049362f592bfb578a2b078f6f3067ed0d8.zip
Diffstat (limited to 'src/core/hle/kernel/k_thread.cpp')
-rw-r--r--src/core/hle/kernel/k_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp
index 38fd8e500..b59259c4f 100644
--- a/src/core/hle/kernel/k_thread.cpp
+++ b/src/core/hle/kernel/k_thread.cpp
@@ -247,7 +247,7 @@ void KThread::Finalize() {
// Decrement the parent process's thread count.
if (parent != nullptr) {
parent->DecrementThreadCount();
- parent->GetResourceLimit()->Release(LimitableResource::ThreadCountMax, 1);
+ parent->GetResourceLimit()->Release(LimitableResource::Threads, 1);
}
}