diff options
| author | Subv <subv2112@gmail.com> | 2017-06-29 12:30:34 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2017-06-29 12:30:34 -0500 |
| commit | b53fa9514fd8d6aa9a93629ab5512da7706c536d (patch) | |
| tree | 532b6c6ee98292647bb1d6dbfc1a362c6358ffcb /src/core/hle/kernel/client_session.h | |
| parent | c3c9175a1c14cd82ea9ee9147281802f5b94013e (diff) | |
Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest.
Diffstat (limited to 'src/core/hle/kernel/client_session.h')
| -rw-r--r-- | src/core/hle/kernel/client_session.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h index 2de379c09..daf521529 100644 --- a/src/core/hle/kernel/client_session.h +++ b/src/core/hle/kernel/client_session.h @@ -14,6 +14,7 @@ namespace Kernel { class ServerSession; class Session; +class Thread; class ClientSession final : public Object { public: @@ -34,9 +35,10 @@ public: /** * Sends an SyncRequest from the current emulated thread. + * @param thread Thread that initiated the request. * @return ResultCode of the operation. */ - ResultCode SendSyncRequest(); + ResultCode SendSyncRequest(SharedPtr<Thread> thread); std::string name; ///< Name of client port (optional) |
