Add ptm:gets service handle

This commit is contained in:
Nomi 2023-09-25 11:51:02 +02:00
parent 80ebb353a5
commit e54dfbfe73
2 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,7 @@ namespace KernelHandles {
PTM_U, // PTM service (Used for accessing various console info, such as battery, shell and pedometer state)
PTM_SYSM, // PTM system service
PTM_PLAY, // PTM Play service, used for retrieving play history
PTM_GETS, // PTM RTC service (GetSystemTime)
SOC, // Socket service
SSL, // SSL service (Totally didn't expect that)
Y2R, // Also does camera stuff

View file

@ -130,6 +130,7 @@ static std::map<std::string, Handle> serviceMap = {
{ "ptm:u", KernelHandles::PTM_U }, // TODO: ptm:u and ptm:sysm have very different command sets
{ "ptm:sysm", KernelHandles::PTM_SYSM },
{ "ptm:play", KernelHandles::PTM_PLAY },
{ "ptm:gets", KernelHandles::PTM_GETS },
{ "soc:U", KernelHandles::SOC },
{ "ssl:C", KernelHandles::SSL },
{ "y2r:u", KernelHandles::Y2R },