Use recursive_mutex instead of mutex to fix #2902

This commit is contained in:
danzel 2017-08-29 20:39:55 +12:00
parent 61442d6afb
commit 8266064796
4 changed files with 5 additions and 5 deletions

View file

@ -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) {