1a954b2a59
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
24 lines
662 B
C++
24 lines
662 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_ldr.h"
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace Service::FileSystem {
|
|
|
|
FSP_LDR::FSP_LDR(Core::System& system_) : ServiceFramework{system_, "fsp:ldr"} {
|
|
// clang-format off
|
|
static const FunctionInfo functions[] = {
|
|
{0, nullptr, "OpenCodeFileSystem"},
|
|
{1, nullptr, "IsArchivedProgram"},
|
|
{2, nullptr, "SetCurrentProcess"},
|
|
};
|
|
// clang-format on
|
|
|
|
RegisterHandlers(functions);
|
|
}
|
|
|
|
FSP_LDR::~FSP_LDR() = default;
|
|
|
|
} // namespace Service::FileSystem
|