yuzu-emu
/
yuzu
Archived
1
0
Fork 0

service: Drop '_Interface' from cfg service names

This commit is contained in:
Lioncash 2016-12-09 01:01:35 -05:00
parent 18bf4acb9b
commit 823d58ac9b
7 changed files with 12 additions and 12 deletions

View File

@ -528,9 +528,9 @@ ResultCode LoadConfigNANDSaveFile() {
} }
void Init() { void Init() {
AddService(new CFG_I_Interface); AddService(new CFG_I);
AddService(new CFG_S_Interface); AddService(new CFG_S);
AddService(new CFG_U_Interface); AddService(new CFG_U);
LoadConfigNANDSaveFile(); LoadConfigNANDSaveFile();
} }

View File

@ -56,7 +56,7 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x08180042, nullptr, "SecureInfoGetSerialNo"}, {0x08180042, nullptr, "SecureInfoGetSerialNo"},
}; };
CFG_I_Interface::CFG_I_Interface() { CFG_I::CFG_I() {
Register(FunctionTable); Register(FunctionTable);
} }

View File

@ -9,9 +9,9 @@
namespace Service { namespace Service {
namespace CFG { namespace CFG {
class CFG_I_Interface : public Service::Interface { class CFG_I final : public Interface {
public: public:
CFG_I_Interface(); CFG_I();
std::string GetPortName() const override { std::string GetPortName() const override {
return "cfg:i"; return "cfg:i";

View File

@ -33,7 +33,7 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x04090000, nullptr, "UpdateConfigBlk00040003"}, {0x04090000, nullptr, "UpdateConfigBlk00040003"},
}; };
CFG_S_Interface::CFG_S_Interface() { CFG_S::CFG_S() {
Register(FunctionTable); Register(FunctionTable);
} }

View File

@ -9,9 +9,9 @@
namespace Service { namespace Service {
namespace CFG { namespace CFG {
class CFG_S_Interface : public Service::Interface { class CFG_S final : public Interface {
public: public:
CFG_S_Interface(); CFG_S();
std::string GetPortName() const override { std::string GetPortName() const override {
return "cfg:s"; return "cfg:s";

View File

@ -23,7 +23,7 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x000B0000, nullptr, "IsFangateSupported"}, {0x000B0000, nullptr, "IsFangateSupported"},
}; };
CFG_U_Interface::CFG_U_Interface() { CFG_U::CFG_U() {
Register(FunctionTable); Register(FunctionTable);
} }

View File

@ -9,9 +9,9 @@
namespace Service { namespace Service {
namespace CFG { namespace CFG {
class CFG_U_Interface : public Service::Interface { class CFG_U final : public Interface {
public: public:
CFG_U_Interface(); CFG_U();
std::string GetPortName() const override { std::string GetPortName() const override {
return "cfg:u"; return "cfg:u";