mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 19:50:04 +00:00
9a07ed53eb
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
21 lines
661 B
C++
21 lines
661 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/pctl/pctl.h"
|
|
|
|
namespace Service::PCTL {
|
|
|
|
PCTL::PCTL(Core::System& system_, std::shared_ptr<Module> module_, const char* name,
|
|
Capability capability_)
|
|
: Interface{system_, std::move(module_), name, capability_} {
|
|
static const FunctionInfo functions[] = {
|
|
{0, &PCTL::CreateService, "CreateService"},
|
|
{1, &PCTL::CreateServiceWithoutInitialize, "CreateServiceWithoutInitialize"},
|
|
};
|
|
RegisterHandlers(functions);
|
|
}
|
|
|
|
PCTL::~PCTL() = default;
|
|
} // namespace Service::PCTL
|