diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-15 12:50:22 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-15 12:50:50 +0200 |
commit | aac5792a2b02200a55efdf13090ae57005ff3346 (patch) | |
tree | 6e7f3e623669f326bb9dc9eb1c305674bd5d125d /src/core/hle/kernel/server_session.h | |
parent | Merge pull request #1067 from lioncash/init (diff) | |
download | yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.tar yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.tar.gz yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.tar.bz2 yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.tar.lz yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.tar.xz yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.tar.zst yuzu-aac5792a2b02200a55efdf13090ae57005ff3346.zip |
Diffstat (limited to 'src/core/hle/kernel/server_session.h')
-rw-r--r-- | src/core/hle/kernel/server_session.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h index 2bce54fee..1a88e66b9 100644 --- a/src/core/hle/kernel/server_session.h +++ b/src/core/hle/kernel/server_session.h @@ -97,7 +97,12 @@ public: /// Returns true if the session has been converted to a domain, otherwise False bool IsDomain() const { - return !domain_request_handlers.empty(); + return !IsSession(); + } + + /// Returns true if this session has not been converted to a domain, otherwise false. + bool IsSession() const { + return domain_request_handlers.empty(); } /// Converts the session to a domain at the end of the current command |