diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-15 07:24:22 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-15 07:24:22 +0200 |
commit | 4fb1b24d68e140230da612d464a5edc226860946 (patch) | |
tree | ed6cc24d62caf4476737508de317908a6cb23e90 /src/core/hle/kernel/server_session.h | |
parent | core: Refactor MakeMagic usage and remove dead code. (diff) | |
download | yuzu-4fb1b24d68e140230da612d464a5edc226860946.tar yuzu-4fb1b24d68e140230da612d464a5edc226860946.tar.gz yuzu-4fb1b24d68e140230da612d464a5edc226860946.tar.bz2 yuzu-4fb1b24d68e140230da612d464a5edc226860946.tar.lz yuzu-4fb1b24d68e140230da612d464a5edc226860946.tar.xz yuzu-4fb1b24d68e140230da612d464a5edc226860946.tar.zst yuzu-4fb1b24d68e140230da612d464a5edc226860946.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/server_session.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h index f4360ddf3..78db5510d 100644 --- a/src/core/hle/kernel/server_session.h +++ b/src/core/hle/kernel/server_session.h @@ -91,6 +91,14 @@ public: /// TODO(Subv): Find a better name for this. SharedPtr<Thread> currently_handling; + void ConvertToDomain() { + is_domain = true; + } + + bool IsDomain() const { + return is_domain; + } + private: ServerSession(); ~ServerSession() override; @@ -102,6 +110,8 @@ private: * @return The created server session */ static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown"); + + bool is_domain{}; }; /** |