diff options
| author | 2021-04-08 14:13:33 -0600 | |
|---|---|---|
| committer | 2021-04-08 19:40:25 -0600 | |
| commit | 6c81332ca7a39e645e711acffeb6cf992d842a62 (patch) | |
| tree | cfbb8ccb67c584822424e2ab28b895943cc6ce70 /src | |
| parent | set_sys: Update to 12.x (diff) | |
| download | yuzu-6c81332ca7a39e645e711acffeb6cf992d842a62.tar.gz yuzu-6c81332ca7a39e645e711acffeb6cf992d842a62.tar.xz yuzu-6c81332ca7a39e645e711acffeb6cf992d842a62.zip | |
sm: Use proper names, update to 12.x
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/sm/sm.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 2b91a89d1..94608d529 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp | |||
| @@ -190,10 +190,11 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager_, Core::System& system_) | |||
| 190 | : ServiceFramework{system_, "sm:", 4}, | 190 | : ServiceFramework{system_, "sm:", 4}, |
| 191 | service_manager{std::move(service_manager_)}, kernel{system_.Kernel()} { | 191 | service_manager{std::move(service_manager_)}, kernel{system_.Kernel()} { |
| 192 | static const FunctionInfo functions[] = { | 192 | static const FunctionInfo functions[] = { |
| 193 | {0x00000000, &SM::Initialize, "Initialize"}, | 193 | {0, &SM::Initialize, "Initialize"}, |
| 194 | {0x00000001, &SM::GetService, "GetService"}, | 194 | {1, &SM::GetService, "GetService"}, |
| 195 | {0x00000002, &SM::RegisterService, "RegisterService"}, | 195 | {2, &SM::RegisterService, "RegisterService"}, |
| 196 | {0x00000003, &SM::UnregisterService, "UnregisterService"}, | 196 | {3, &SM::UnregisterService, "UnregisterService"}, |
| 197 | {4, nullptr, "DetachClient"}, | ||
| 197 | }; | 198 | }; |
| 198 | RegisterHandlers(functions); | 199 | RegisterHandlers(functions); |
| 199 | } | 200 | } |