diff options
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 9f46a1758..5e9dd43bf 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -316,7 +316,6 @@ static ResultCode ConnectToNamedPort32(Core::System& system, Handle* out_handle, | |||
| 316 | 316 | ||
| 317 | /// Makes a blocking IPC call to an OS service. | 317 | /// Makes a blocking IPC call to an OS service. |
| 318 | static ResultCode SendSyncRequest(Core::System& system, Handle handle) { | 318 | static ResultCode SendSyncRequest(Core::System& system, Handle handle) { |
| 319 | std::lock_guard lock{HLE::g_hle_lock}; | ||
| 320 | const auto& handle_table = system.Kernel().CurrentProcess()->GetHandleTable(); | 319 | const auto& handle_table = system.Kernel().CurrentProcess()->GetHandleTable(); |
| 321 | std::shared_ptr<ClientSession> session = handle_table.Get<ClientSession>(handle); | 320 | std::shared_ptr<ClientSession> session = handle_table.Get<ClientSession>(handle); |
| 322 | if (!session) { | 321 | if (!session) { |