mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-29 19:00:17 +00:00
SVC: Removed a Sleep that made no sense
- Would deadlock the calling thread - Code would never get hit anyways
This commit is contained in:
parent
254e4ebd58
commit
c06d64528a
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue