diff options
Diffstat (limited to 'src/core/hle/kernel/session.h')
| -rw-r--r-- | src/core/hle/kernel/session.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h index 91f3ffc2c..e11f727a5 100644 --- a/src/core/hle/kernel/session.h +++ b/src/core/hle/kernel/session.h | |||
| @@ -41,7 +41,7 @@ inline static u32* GetCommandBuffer(const int offset=0) { | |||
| 41 | * CTR-OS so that IPC calls can be optionally handled by the real implementations of processes, as | 41 | * CTR-OS so that IPC calls can be optionally handled by the real implementations of processes, as |
| 42 | * opposed to HLE simulations. | 42 | * opposed to HLE simulations. |
| 43 | */ | 43 | */ |
| 44 | class Session : public Object { | 44 | class Session : public WaitObject { |
| 45 | public: | 45 | public: |
| 46 | std::string GetTypeName() const override { return "Session"; } | 46 | std::string GetTypeName() const override { return "Session"; } |
| 47 | 47 | ||
| @@ -53,6 +53,12 @@ public: | |||
| 53 | * aren't supported yet. | 53 | * aren't supported yet. |
| 54 | */ | 54 | */ |
| 55 | virtual ResultVal<bool> SyncRequest() = 0; | 55 | virtual ResultVal<bool> SyncRequest() = 0; |
| 56 | |||
| 57 | ResultVal<bool> Wait() override { | ||
| 58 | // TODO(bunnei): This function exists to satisfy a hardware test with a Session object | ||
| 59 | // passed into WaitSynchronization. Not sure if it's possible for this to ever be false? | ||
| 60 | return MakeResult<bool>(true); | ||
| 61 | } | ||
| 56 | }; | 62 | }; |
| 57 | 63 | ||
| 58 | } | 64 | } |