diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-18 20:00:10 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-22 02:47:45 +0100 |
commit | c06d64528a666f450e42cb1792ac995fc1697e76 (patch) | |
tree | ed18fd74aff9a4b1bb8d344252fd93f3088a3ed2 /src | |
parent | AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense. (diff) | |
download | yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.tar yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.tar.gz yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.tar.bz2 yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.tar.lz yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.tar.xz yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.tar.zst yuzu-c06d64528a666f450e42cb1792ac995fc1697e76.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/svc.cpp | 7 |
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) { LOG_TRACE(Kernel_SVC, "called handle=0x%08X(%s)", handle, session->GetName().c_str()); - ResultVal<bool> wait = session->SyncRequest(); - if (wait.Succeeded() && *wait) { - Kernel::WaitCurrentThread_Sleep(); // TODO(bunnei): Is this correct? - } - - return wait.Code().raw; + return session->SyncRequest().Code().raw; } /// Close a handle |