mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 22:06:27 -05: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.
20 lines
661 B
C++
20 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
|