summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-02-25 13:24:29 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:35:13 -0400
commitef4afa9760f07bc218256cdb044529ad3a7c08b5 (patch)
treee28b12e98f9c7caa0160f4a36115653ee75cdf62 /src/core/hle/kernel/svc.cpp
parentSVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, SetThre... (diff)
downloadyuzu-ef4afa9760f07bc218256cdb044529ad3a7c08b5.tar.gz
yuzu-ef4afa9760f07bc218256cdb044529ad3a7c08b5.tar.xz
yuzu-ef4afa9760f07bc218256cdb044529ad3a7c08b5.zip
SVC: Remove global HLE Lock.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 2a218e294..a071b0c09 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -2410,9 +2410,6 @@ MICROPROFILE_DEFINE(Kernel_SVC, "Kernel", "SVC", MP_RGB(70, 200, 70));
2410void Call(Core::System& system, u32 immediate) { 2410void Call(Core::System& system, u32 immediate) {
2411 MICROPROFILE_SCOPE(Kernel_SVC); 2411 MICROPROFILE_SCOPE(Kernel_SVC);
2412 2412
2413 // Lock the global kernel mutex when we enter the kernel HLE.
2414 std::lock_guard lock{HLE::g_hle_lock};
2415
2416 const FunctionDef* info = system.CurrentProcess()->Is64BitProcess() ? GetSVCInfo64(immediate) 2413 const FunctionDef* info = system.CurrentProcess()->Is64BitProcess() ? GetSVCInfo64(immediate)
2417 : GetSVCInfo32(immediate); 2414 : GetSVCInfo32(immediate);
2418 if (info) { 2415 if (info) {