mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 11:42:48 +00:00
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();
|
||||
|
|
Loading…
Reference in a new issue