|
|
@ -673,7 +673,7 @@ public: |
|
|
explicit NS_VM(Core::System& system_) : ServiceFramework{system_, "ns:vm"} { |
|
|
explicit NS_VM(Core::System& system_) : ServiceFramework{system_, "ns:vm"} { |
|
|
// clang-format off
|
|
|
// clang-format off
|
|
|
static const FunctionInfo functions[] = { |
|
|
static const FunctionInfo functions[] = { |
|
|
{1200, nullptr, "NeedsUpdateVulnerability"}, |
|
|
|
|
|
|
|
|
{1200, &NS_VM::NeedsUpdateVulnerability, "NeedsUpdateVulnerability"}, |
|
|
{1201, nullptr, "UpdateSafeSystemVersionForDebug"}, |
|
|
{1201, nullptr, "UpdateSafeSystemVersionForDebug"}, |
|
|
{1202, nullptr, "GetSafeSystemVersion"}, |
|
|
{1202, nullptr, "GetSafeSystemVersion"}, |
|
|
}; |
|
|
}; |
|
|
@ -681,6 +681,15 @@ public: |
|
|
|
|
|
|
|
|
RegisterHandlers(functions); |
|
|
RegisterHandlers(functions); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
|
void NeedsUpdateVulnerability(Kernel::HLERequestContext& ctx) { |
|
|
|
|
|
LOG_WARNING(Service_NS, "(STUBBED) called"); |
|
|
|
|
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 3}; |
|
|
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
|
|
rb.Push(false); |
|
|
|
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) { |
|
|
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) { |
|
|
|