summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar Liam2023-02-21 12:19:12 -0500
committerGravatar Liam2023-02-21 12:19:25 -0500
commit72e5552409305fe57781b83c3145fb2b66552be2 (patch)
tree7c88edce6084274a0c79a9284fc7290033e2e0bc /src/core/hle/kernel
parentcheat_engine: add check for hid initialization (diff)
downloadyuzu-72e5552409305fe57781b83c3145fb2b66552be2.tar.gz
yuzu-72e5552409305fe57781b83c3145fb2b66552be2.tar.xz
yuzu-72e5552409305fe57781b83c3145fb2b66552be2.zip
sm:: fix lingering session initialization issues
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/hle_ipc.h12
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
150private: 161private:
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