forked from suyu/suyu
1a954b2a59
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
25 lines
710 B
C++
25 lines
710 B
C++
// Copyright 2018 yuzu emulator team
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "core/hle/service/filesystem/fsp_pr.h"
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace Service::FileSystem {
|
|
|
|
FSP_PR::FSP_PR(Core::System& system_) : ServiceFramework{system_, "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);
|
|
}
|
|
|
|
FSP_PR::~FSP_PR() = default;
|
|
|
|
} // namespace Service::FileSystem
|