summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sm/sm.cpp2
-rw-r--r--src/core/hle/service/sm/sm.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp
index 568effbc9..7bd571880 100644
--- a/src/core/hle/service/sm/sm.cpp
+++ b/src/core/hle/service/sm/sm.cpp
@@ -107,6 +107,8 @@ SM::~SM() = default;
107void SM::Initialize(Kernel::HLERequestContext& ctx) { 107void SM::Initialize(Kernel::HLERequestContext& ctx) {
108 LOG_DEBUG(Service_SM, "called"); 108 LOG_DEBUG(Service_SM, "called");
109 109
110 is_initialized = true;
111
110 IPC::ResponseBuilder rb{ctx, 2}; 112 IPC::ResponseBuilder rb{ctx, 2};
111 rb.Push(RESULT_SUCCESS); 113 rb.Push(RESULT_SUCCESS);
112} 114}
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h
index af5010c3b..fed65af4f 100644
--- a/src/core/hle/service/sm/sm.h
+++ b/src/core/hle/service/sm/sm.h
@@ -44,6 +44,7 @@ private:
44 void UnregisterService(Kernel::HLERequestContext& ctx); 44 void UnregisterService(Kernel::HLERequestContext& ctx);
45 45
46 std::shared_ptr<ServiceManager> service_manager; 46 std::shared_ptr<ServiceManager> service_manager;
47 bool is_initialized{};
47 Kernel::KernelCore& kernel; 48 Kernel::KernelCore& kernel;
48}; 49};
49 50