summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 516309036..4c0276cf0 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -20,7 +20,6 @@
20#include "core/hle/kernel/shared_memory.h" 20#include "core/hle/kernel/shared_memory.h"
21#include "core/hle/kernel/svc.h" 21#include "core/hle/kernel/svc.h"
22#include "core/hle/kernel/svc_wrap.h" 22#include "core/hle/kernel/svc_wrap.h"
23#include "core/hle/kernel/sync_object.h"
24#include "core/hle/kernel/thread.h" 23#include "core/hle/kernel/thread.h"
25#include "core/hle/lock.h" 24#include "core/hle/lock.h"
26#include "core/hle/result.h" 25#include "core/hle/result.h"
@@ -87,7 +86,7 @@ static ResultCode ConnectToNamedPort(Handle* out_handle, VAddr port_name_address
87 86
88/// Makes a blocking IPC call to an OS service. 87/// Makes a blocking IPC call to an OS service.
89static ResultCode SendSyncRequest(Handle handle) { 88static ResultCode SendSyncRequest(Handle handle) {
90 SharedPtr<SyncObject> session = g_handle_table.Get<SyncObject>(handle); 89 SharedPtr<ClientSession> session = g_handle_table.Get<ClientSession>(handle);
91 if (!session) { 90 if (!session) {
92 LOG_ERROR(Kernel_SVC, "called with invalid handle=0x%08X", handle); 91 LOG_ERROR(Kernel_SVC, "called with invalid handle=0x%08X", handle);
93 return ERR_INVALID_HANDLE; 92 return ERR_INVALID_HANDLE;