Skip to content
Snippets Groups Projects
Commit 46183294 authored by Morph's avatar Morph
Browse files

ns_vm: Stub NeedsUpdateVulnerability

This is used to force system updates on launching the web browser. We do not care about system updates so this can be set to false.
parent f9653a44
No related branches found
No related tags found
No related merge requests found
......@@ -673,7 +673,7 @@ public:
explicit NS_VM(Core::System& system_) : ServiceFramework{system_, "ns:vm"} {
// clang-format off
static const FunctionInfo functions[] = {
{1200, nullptr, "NeedsUpdateVulnerability"},
{1200, &NS_VM::NeedsUpdateVulnerability, "NeedsUpdateVulnerability"},
{1201, nullptr, "UpdateSafeSystemVersionForDebug"},
{1202, nullptr, "GetSafeSystemVersion"},
};
......@@ -681,6 +681,15 @@ public:
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment