summaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index cf029bf69..5e9c38973 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -103,12 +103,7 @@ static Result SendSyncRequest(Handle handle) {
103 103
104 LOG_TRACE(Kernel_SVC, "called handle=0x%08X(%s)", handle, session->GetName().c_str()); 104 LOG_TRACE(Kernel_SVC, "called handle=0x%08X(%s)", handle, session->GetName().c_str());
105 105
106 ResultVal<bool> wait = session->SyncRequest(); 106 return session->SyncRequest().Code().raw;
107 if (wait.Succeeded() && *wait) {
108 Kernel::WaitCurrentThread_Sleep(); // TODO(bunnei): Is this correct?
109 }
110
111 return wait.Code().raw;
112} 107}
113 108
114/// Close a handle 109/// Close a handle