mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-25 12:55:33 +00:00
service: Drop '_Interface' in ptm service class names
Inheriting from Service::Interface makes this obvious.
This commit is contained in:
parent
41c03f481a
commit
cd778cf991
|
@ -108,11 +108,11 @@ void CheckNew3DS(Service::Interface* self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Init() {
|
void Init() {
|
||||||
AddService(new PTM_Gets());
|
AddService(new PTM_Gets);
|
||||||
AddService(new PTM_Play_Interface);
|
AddService(new PTM_Play);
|
||||||
AddService(new PTM_Sets());
|
AddService(new PTM_Sets);
|
||||||
AddService(new PTM_Sysm_Interface);
|
AddService(new PTM_Sysm);
|
||||||
AddService(new PTM_U_Interface);
|
AddService(new PTM_U);
|
||||||
|
|
||||||
shell_open = true;
|
shell_open = true;
|
||||||
battery_is_charging = true;
|
battery_is_charging = true;
|
||||||
|
|
|
@ -14,7 +14,7 @@ const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x080B0080, nullptr, "CalcPlayHistoryStart"},
|
{0x080B0080, nullptr, "CalcPlayHistoryStart"},
|
||||||
};
|
};
|
||||||
|
|
||||||
PTM_Play_Interface::PTM_Play_Interface() {
|
PTM_Play::PTM_Play() {
|
||||||
Register(FunctionTable);
|
Register(FunctionTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace PTM {
|
namespace PTM {
|
||||||
|
|
||||||
class PTM_Play_Interface : public Service::Interface {
|
class PTM_Play final : public Interface {
|
||||||
public:
|
public:
|
||||||
PTM_Play_Interface();
|
PTM_Play();
|
||||||
|
|
||||||
std::string GetPortName() const override {
|
std::string GetPortName() const override {
|
||||||
return "ptm:play";
|
return "ptm:play";
|
||||||
|
|
|
@ -42,7 +42,7 @@ const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x08180040, nullptr, "ConfigureNew3DSCPU"},
|
{0x08180040, nullptr, "ConfigureNew3DSCPU"},
|
||||||
};
|
};
|
||||||
|
|
||||||
PTM_Sysm_Interface::PTM_Sysm_Interface() {
|
PTM_Sysm::PTM_Sysm() {
|
||||||
Register(FunctionTable);
|
Register(FunctionTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace PTM {
|
namespace PTM {
|
||||||
|
|
||||||
class PTM_Sysm_Interface : public Interface {
|
class PTM_Sysm final : public Interface {
|
||||||
public:
|
public:
|
||||||
PTM_Sysm_Interface();
|
PTM_Sysm();
|
||||||
|
|
||||||
std::string GetPortName() const override {
|
std::string GetPortName() const override {
|
||||||
return "ptm:sysm";
|
return "ptm:sysm";
|
||||||
|
|
|
@ -26,7 +26,7 @@ const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x000F0084, nullptr, "GetStepHistoryAll"},
|
{0x000F0084, nullptr, "GetStepHistoryAll"},
|
||||||
};
|
};
|
||||||
|
|
||||||
PTM_U_Interface::PTM_U_Interface() {
|
PTM_U::PTM_U() {
|
||||||
Register(FunctionTable);
|
Register(FunctionTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace PTM {
|
namespace PTM {
|
||||||
|
|
||||||
class PTM_U_Interface : public Interface {
|
class PTM_U final : public Interface {
|
||||||
public:
|
public:
|
||||||
PTM_U_Interface();
|
PTM_U();
|
||||||
|
|
||||||
std::string GetPortName() const override {
|
std::string GetPortName() const override {
|
||||||
return "ptm:u";
|
return "ptm:u";
|
||||||
|
|
Loading…
Reference in a new issue