service: Add the ptm:s service
3dbrew documents this as being the exact same as ptm:sysm
This commit is contained in:
parent
56656b75ab
commit
007815647c
3 changed files with 14 additions and 0 deletions
|
@ -110,6 +110,7 @@ void CheckNew3DS(Service::Interface* self) {
|
||||||
void Init() {
|
void Init() {
|
||||||
AddService(new PTM_Gets);
|
AddService(new PTM_Gets);
|
||||||
AddService(new PTM_Play);
|
AddService(new PTM_Play);
|
||||||
|
AddService(new PTM_S);
|
||||||
AddService(new PTM_Sets);
|
AddService(new PTM_Sets);
|
||||||
AddService(new PTM_Sysm);
|
AddService(new PTM_Sysm);
|
||||||
AddService(new PTM_U);
|
AddService(new PTM_U);
|
||||||
|
|
|
@ -59,6 +59,10 @@ const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x08180040, nullptr, "ConfigureNew3DSCPU"},
|
{0x08180040, nullptr, "ConfigureNew3DSCPU"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PTM_S::PTM_S() {
|
||||||
|
Register(FunctionTable);
|
||||||
|
}
|
||||||
|
|
||||||
PTM_Sysm::PTM_Sysm() {
|
PTM_Sysm::PTM_Sysm() {
|
||||||
Register(FunctionTable);
|
Register(FunctionTable);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,15 @@
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace PTM {
|
namespace PTM {
|
||||||
|
|
||||||
|
class PTM_S final : public Interface {
|
||||||
|
public:
|
||||||
|
PTM_S();
|
||||||
|
|
||||||
|
std::string GetPortName() const override {
|
||||||
|
return "ptm:s";
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
class PTM_Sysm final : public Interface {
|
class PTM_Sysm final : public Interface {
|
||||||
public:
|
public:
|
||||||
PTM_Sysm();
|
PTM_Sysm();
|
||||||
|
|
Loading…
Reference in a new issue