summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authordanzel <danzel@localhost.geek.nz>2017-08-29 10:39:55 +0200
committerdanzel <danzel@localhost.geek.nz>2017-08-29 10:39:55 +0200
commit826606479682234c98e4dfa6e616e637a28d4fcc (patch)
treebe6cbcc451182e0ec9801470b9c454e94ba124c5 /src/core/hle/svc.cpp
parentMerge pull request #2839 from Subv/global_kernel_lock (diff)
downloadyuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar
yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.gz
yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.bz2
yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.lz
yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.xz
yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.zst
yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.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) {