diff options
| author | bunnei <bunneidev@gmail.com> | 2019-11-30 18:56:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-30 18:56:35 -0500 |
| commit | 5c7253f8d3c010c0a0e5c91db497819829cb4a43 (patch) | |
| tree | c2aa6989d3f081c07c72c3ab4a698c73ecd8c429 /src/core/hle/kernel/hle_ipc.h | |
| parent | 930b7c18a6d73d2365c8c2b868279fe5d44630d3 (diff) | |
| parent | c3d3b173d39b7c12fa9b3d5d34040e9377f2888e (diff) | |
Merge pull request #3177 from bunnei/new-ipc-req
kernel: Implement a more accurate IPC dispatch.
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.h')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index dab37ba0d..050ad8fd7 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -264,6 +264,18 @@ public: std::string Description() const; + Thread& GetThread() { + return *thread; + } + + const Thread& GetThread() const { + return *thread; + } + + bool IsThreadWaiting() const { + return is_thread_waiting; + } + private: void ParseCommandBuffer(const HandleTable& handle_table, u32_le* src_cmdbuf, bool incoming); @@ -290,6 +302,7 @@ private: u32_le command{}; std::vector<std::shared_ptr<SessionRequestHandler>> domain_request_handlers; + bool is_thread_waiting{}; }; } // namespace Kernel |
