idle.cpp 733 B

1234567891011121314151617181920212223242526
  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/idle.h"
  5. namespace Service::AM {
  6. IdleSys::IdleSys(Core::System& system_) : ServiceFramework{system_, "idle:sys"} {
  7. // clang-format off
  8. static const FunctionInfo functions[] = {
  9. {0, nullptr, "GetAutoPowerDownEvent"},
  10. {1, nullptr, "IsAutoPowerDownRequested"},
  11. {2, nullptr, "Unknown2"},
  12. {3, nullptr, "SetHandlingContext"},
  13. {4, nullptr, "LoadAndApplySettings"},
  14. {5, nullptr, "ReportUserIsActive"},
  15. };
  16. // clang-format on
  17. RegisterHandlers(functions);
  18. }
  19. IdleSys::~IdleSys() = default;
  20. } // namespace Service::AM