diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-01 21:32:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-01 21:32:54 -0400 |
| commit | 16b2fd9fc81294521b9888bcbc7b8b24ce6e69f5 (patch) | |
| tree | e20d654542644dad71c7959f08892eea8a2546f8 /src/core/hle/service/filesystem/fsp_pr.cpp | |
| parent | 200c95db8a816db0170b2fa27992fc719e434e05 (diff) | |
| parent | 208a4579095e0b92320e05870c0ab56d736dc778 (diff) | |
Merge pull request #889 from lioncash/fsp
service/filesystem: Add fsp:ldr and fsp:pr services
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_pr.cpp')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_pr.cpp | 25 |
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 |
