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
|
@ -110,6 +110,7 @@ void CheckNew3DS(Service::Interface* self) {
|
|||
void Init() {
|
||||
AddService(new PTM_Gets);
|
||||
AddService(new PTM_Play);
|
||||
AddService(new PTM_S);
|
||||
AddService(new PTM_Sets);
|
||||
AddService(new PTM_Sysm);
|
||||
AddService(new PTM_U);
|
||||
|
|
|
@ -59,6 +59,10 @@ const Interface::FunctionInfo FunctionTable[] = {
|
|||
{0x08180040, nullptr, "ConfigureNew3DSCPU"},
|
||||
};
|
||||
|
||||
PTM_S::PTM_S() {
|
||||
Register(FunctionTable);
|
||||
}
|
||||
|
||||
PTM_Sysm::PTM_Sysm() {
|
||||
Register(FunctionTable);
|
||||
}
|
||||
|
|
|
@ -9,6 +9,15 @@
|
|||
namespace Service {
|
||||
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 {
|
||||
public:
|
||||
PTM_Sysm();
|
||||
|
|
Reference in New Issue