ptm_sysm.cpp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/ptm/ptm.h"
  5. #include "core/hle/service/ptm/ptm_sysm.h"
  6. namespace Service {
  7. namespace PTM {
  8. const Interface::FunctionInfo FunctionTable[] = {
  9. {0x040100C0, nullptr, "SetRtcAlarmEx"},
  10. {0x04020042, nullptr, "ReplySleepQuery"},
  11. {0x04030042, nullptr, "NotifySleepPreparationComplete"},
  12. {0x04040102, nullptr, "SetWakeupTrigger"},
  13. {0x04050000, nullptr, "GetAwakeReason"},
  14. {0x04060000, nullptr, "RequestSleep"},
  15. {0x040700C0, nullptr, "ShutdownAsync"},
  16. {0x04080000, nullptr, "Awake"},
  17. {0x04090080, nullptr, "RebootAsync"},
  18. {0x040A0000, CheckNew3DS, "CheckNew3DS"},
  19. {0x08010640, nullptr, "SetInfoLEDPattern"},
  20. {0x08020040, nullptr, "SetInfoLEDPatternHeader"},
  21. {0x08030000, nullptr, "GetInfoLEDStatus"},
  22. {0x08040040, nullptr, "SetBatteryEmptyLEDPattern"},
  23. {0x08050000, nullptr, "ClearStepHistory"},
  24. {0x080600C2, nullptr, "SetStepHistory"},
  25. {0x08070082, nullptr, "GetPlayHistory"},
  26. {0x08080000, nullptr, "GetPlayHistoryStart"},
  27. {0x08090000, nullptr, "GetPlayHistoryLength"},
  28. {0x080A0000, nullptr, "ClearPlayHistory"},
  29. {0x080B0080, nullptr, "CalcPlayHistoryStart"},
  30. {0x080C0080, nullptr, "SetUserTime"},
  31. {0x080D0000, nullptr, "InvalidateSystemTime"},
  32. {0x080E0140, nullptr, "NotifyPlayEvent"},
  33. {0x080F0000, GetSoftwareClosedFlag, "GetSoftwareClosedFlag"},
  34. {0x08100000, nullptr, "ClearSoftwareClosedFlag"},
  35. {0x08110000, GetShellState, "GetShellState"},
  36. {0x08120000, nullptr, "IsShutdownByBatteryEmpty"},
  37. {0x08130000, nullptr, "FormatSavedata"},
  38. {0x08140000, nullptr, "GetLegacyJumpProhibitedFlag"},
  39. {0x08180040, nullptr, "ConfigureNew3DSCPU"},
  40. };
  41. PTM_Sysm::PTM_Sysm() {
  42. Register(FunctionTable);
  43. }
  44. } // namespace PTM
  45. } // namespace Service