diff options
| author | 2017-06-29 12:30:34 -0500 | |
|---|---|---|
| committer | 2017-06-29 12:30:34 -0500 | |
| commit | b53fa9514fd8d6aa9a93629ab5512da7706c536d (patch) | |
| tree | 532b6c6ee98292647bb1d6dbfc1a362c6358ffcb /src/core/hle/svc.cpp | |
| parent | Kernel/Sessions: Clean up the list of pending request threads of a session wh... (diff) | |
| download | yuzu-b53fa9514fd8d6aa9a93629ab5512da7706c536d.tar.gz yuzu-b53fa9514fd8d6aa9a93629ab5512da7706c536d.tar.xz yuzu-b53fa9514fd8d6aa9a93629ab5512da7706c536d.zip | |
Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest.
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 2cdbe3fb9..0a7f011f3 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -237,7 +237,7 @@ static ResultCode SendSyncRequest(Kernel::Handle handle) { | |||
| 237 | 237 | ||
| 238 | // TODO(Subv): svcSendSyncRequest should put the caller thread to sleep while the server | 238 | // TODO(Subv): svcSendSyncRequest should put the caller thread to sleep while the server |
| 239 | // responds and cause a reschedule. | 239 | // responds and cause a reschedule. |
| 240 | return session->SendSyncRequest(); | 240 | return session->SendSyncRequest(Kernel::GetCurrentThread()); |
| 241 | } | 241 | } |
| 242 | 242 | ||
| 243 | /// Close a handle | 243 | /// Close a handle |