From 208a4579095e0b92320e05870c0ab56d736dc778 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 1 Aug 2018 16:55:07 -0400 Subject: service/filesystem: Add fsp:ldr and fsp:pr services Adds the basic skeleton for the remaining fsp services based off information provided by Switch Brew. --- src/core/hle/service/filesystem/fsp_pr.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/core/hle/service/filesystem/fsp_pr.cpp (limited to 'src/core/hle/service/filesystem/fsp_pr.cpp') diff --git a/src/core/hle/service/filesystem/fsp_pr.cpp b/src/core/hle/service/filesystem/fsp_pr.cpp new file mode 100644 index 000000000..0b51385ee --- /dev/null +++ b/src/core/hle/service/filesystem/fsp_pr.cpp @@ -0,0 +1,25 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/filesystem/fsp_pr.h" +#include "core/hle/service/service.h" + +namespace Service::FileSystem { + +FSP_PR::FSP_PR() : ServiceFramework{"fsp:pr"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "RegisterProgram"}, + {1, nullptr, "UnregisterProgram"}, + {2, nullptr, "SetCurrentProcess"}, + {256, nullptr, "SetEnabledProgramVerification"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +} // namespace Service::FileSystem -- cgit v1.2.3