summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2017-08-29 16:35:56 +0200
committerGitHub <noreply@github.com>2017-08-29 16:35:56 +0200
commitacbd46366c893537c3e63f510b8ba04adafc0c02 (patch)
tree0b55a7ab31e9529a0c3179dc6fdb0b41eefc1dd4 /src/core/hle/svc.cpp
parentMerge pull request #2901 from stone3311/master (diff)
parentUse recursive_mutex instead of mutex to fix #2902 (diff)
downloadyuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.tar
yuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.tar.gz
yuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.tar.bz2
yuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.tar.lz
yuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.tar.xz
yuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.tar.zst
yuzu-acbd46366c893537c3e63f510b8ba04adafc0c02.zip
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index b98938cb4..dfc36748c 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -1334,7 +1334,7 @@ void CallSVC(u32 immediate) {
MICROPROFILE_SCOPE(Kernel_SVC);
// Lock the global kernel mutex when we enter the kernel HLE.
- std::lock_guard<std::mutex> lock(HLE::g_hle_lock);
+ std::lock_guard<std::recursive_mutex> lock(HLE::g_hle_lock);
const FunctionDef* info = GetSVCInfo(immediate);
if (info) {