spsm.cpp 933 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/am/spsm.h"
  5. namespace Service::AM {
  6. SPSM::SPSM() : ServiceFramework{"spsm"} {
  7. // clang-format off
  8. static const FunctionInfo functions[] = {
  9. {0, nullptr, "GetState"},
  10. {1, nullptr, "SleepSystemAndWaitAwake"},
  11. {2, nullptr, "Unknown1"},
  12. {3, nullptr, "Unknown2"},
  13. {4, nullptr, "GetNotificationMessageEventHandle"},
  14. {5, nullptr, "Unknown3"},
  15. {6, nullptr, "Unknown4"},
  16. {7, nullptr, "Unknown5"},
  17. {8, nullptr, "AnalyzePerformanceLogForLastSleepWakeSequence"},
  18. {9, nullptr, "ChangeHomeButtonLongPressingTime"},
  19. {10, nullptr, "Unknown6"},
  20. {11, nullptr, "Unknown7"},
  21. };
  22. // clang-format on
  23. RegisterHandlers(functions);
  24. }
  25. SPSM::~SPSM() = default;
  26. } // namespace Service::AM