summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-11-29 09:47:10 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-12-18 16:33:28 +0100
commit46183294b2d0db8795ea8441d1942ba32c6ebb00 (patch)
tree7db390745fa7951dacf16a40a367c782fbc8f8e7 /src/core
parentfrontend/input_interpreter: Add InputInterpreter API (diff)
downloadyuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.tar
yuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.tar.gz
yuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.tar.bz2
yuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.tar.lz
yuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.tar.xz
yuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.tar.zst
yuzu-46183294b2d0db8795ea8441d1942ba32c6ebb00.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/ns/ns.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cpp
index ef7584641..6ccf8995c 100644
--- a/src/core/hle/service/ns/ns.cpp
+++ b/src/core/hle/service/ns/ns.cpp
@@ -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) {