diff options
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index 6cbc974fe..b4364f984 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h | |||
| @@ -147,9 +147,21 @@ public: | |||
| 147 | return server_manager; | 147 | return server_manager; |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | // TODO: remove this when sm: is implemented with the proper IUserInterface | ||
| 151 | // abstraction, creating a new C++ handler object for each session: | ||
| 152 | |||
| 153 | bool GetIsInitializedForSm() const { | ||
| 154 | return is_initialized_for_sm; | ||
| 155 | } | ||
| 156 | |||
| 157 | void SetIsInitializedForSm() { | ||
| 158 | is_initialized_for_sm = true; | ||
| 159 | } | ||
| 160 | |||
| 150 | private: | 161 | private: |
| 151 | bool convert_to_domain{}; | 162 | bool convert_to_domain{}; |
| 152 | bool is_domain{}; | 163 | bool is_domain{}; |
| 164 | bool is_initialized_for_sm{}; | ||
| 153 | SessionRequestHandlerPtr session_handler; | 165 | SessionRequestHandlerPtr session_handler; |
| 154 | std::vector<SessionRequestHandlerPtr> domain_handlers; | 166 | std::vector<SessionRequestHandlerPtr> domain_handlers; |
| 155 | 167 | ||