mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 03:05:36 +00:00
sm: Use proper names, update to 12.x
This commit is contained in:
parent
7133bfdd2c
commit
6c81332ca7
|
@ -190,10 +190,11 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager_, Core::System& system_)
|
||||||
: ServiceFramework{system_, "sm:", 4},
|
: ServiceFramework{system_, "sm:", 4},
|
||||||
service_manager{std::move(service_manager_)}, kernel{system_.Kernel()} {
|
service_manager{std::move(service_manager_)}, kernel{system_.Kernel()} {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0x00000000, &SM::Initialize, "Initialize"},
|
{0, &SM::Initialize, "Initialize"},
|
||||||
{0x00000001, &SM::GetService, "GetService"},
|
{1, &SM::GetService, "GetService"},
|
||||||
{0x00000002, &SM::RegisterService, "RegisterService"},
|
{2, &SM::RegisterService, "RegisterService"},
|
||||||
{0x00000003, &SM::UnregisterService, "UnregisterService"},
|
{3, &SM::UnregisterService, "UnregisterService"},
|
||||||
|
{4, nullptr, "DetachClient"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue