diff options
Diffstat (limited to 'src/core/hle/kernel/session.h')
| -rw-r--r-- | src/core/hle/kernel/session.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h index 7cd9c0d77..f6dd2c1d2 100644 --- a/src/core/hle/kernel/session.h +++ b/src/core/hle/kernel/session.h | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | #include <string> | 8 | #include <string> |
| 9 | #include <utility> | 9 | #include <utility> |
| 10 | 10 | ||
| 11 | #include "core/hle/kernel/synchronization_object.h" | 11 | #include "core/hle/kernel/k_synchronization_object.h" |
| 12 | 12 | ||
| 13 | namespace Kernel { | 13 | namespace Kernel { |
| 14 | 14 | ||
| @@ -19,7 +19,7 @@ class ServerSession; | |||
| 19 | * Parent structure to link the client and server endpoints of a session with their associated | 19 | * Parent structure to link the client and server endpoints of a session with their associated |
| 20 | * client port. | 20 | * client port. |
| 21 | */ | 21 | */ |
| 22 | class Session final : public SynchronizationObject { | 22 | class Session final : public KSynchronizationObject { |
| 23 | public: | 23 | public: |
| 24 | explicit Session(KernelCore& kernel); | 24 | explicit Session(KernelCore& kernel); |
| 25 | ~Session() override; | 25 | ~Session() override; |
| @@ -37,12 +37,8 @@ public: | |||
| 37 | return HANDLE_TYPE; | 37 | return HANDLE_TYPE; |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | bool ShouldWait(const Thread* thread) const override; | ||
| 41 | |||
| 42 | bool IsSignaled() const override; | 40 | bool IsSignaled() const override; |
| 43 | 41 | ||
| 44 | void Acquire(Thread* thread) override; | ||
| 45 | |||
| 46 | std::shared_ptr<ClientSession> Client() { | 42 | std::shared_ptr<ClientSession> Client() { |
| 47 | if (auto result{client.lock()}) { | 43 | if (auto result{client.lock()}) { |
| 48 | return result; | 44 | return result; |