Use recursive_mutex instead of mutex to fix #2902
This commit is contained in:
parent
61442d6afb
commit
8266064796
4 changed files with 5 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue