diff options
| author | 2020-03-03 15:50:38 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:23 -0400 | |
| commit | 07993ac8c8c66bbf638dddc7750106f6dfb0e09b (patch) | |
| tree | dae8c8249f66657e232dc2620489d237e17459c8 /src/core/hle/kernel/svc.cpp | |
| parent | Kernel: Correct Signal on Thread Death and Setup Sync Objects on Thread for D... (diff) | |
| download | yuzu-07993ac8c8c66bbf638dddc7750106f6dfb0e09b.tar.gz yuzu-07993ac8c8c66bbf638dddc7750106f6dfb0e09b.tar.xz yuzu-07993ac8c8c66bbf638dddc7750106f6dfb0e09b.zip | |
Kernel: Corrections to Scheduling.
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) { |