aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/client_session.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-06-29 12:30:34 -0500
committerSubv <subv2112@gmail.com>2017-06-29 12:30:34 -0500
commitb53fa9514fd8d6aa9a93629ab5512da7706c536d (patch)
tree532b6c6ee98292647bb1d6dbfc1a362c6358ffcb /src/core/hle/kernel/client_session.h
parentc3c9175a1c14cd82ea9ee9147281802f5b94013e (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.h4
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)