aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem/fsp_pr.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-01 16:55:07 -0400
committerLioncash <mathew1800@gmail.com>2018-08-01 17:01:29 -0400
commit208a4579095e0b92320e05870c0ab56d736dc778 (patch)
tree84b19089d27119607da4a8c3066fad9ffedb43dd /src/core/hle/service/filesystem/fsp_pr.cpp
parent99a1d7440db6412f5cddcb7e00b523661f16cb53 (diff)
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.
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_pr.cpp')
-rw-r--r--src/core/hle/service/filesystem/fsp_pr.cpp25
1 files changed, 25 insertions, 0 deletions
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