omm.cpp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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/omm.h"
  5. namespace Service::AM {
  6. OMM::OMM() : ServiceFramework{"omm"} {
  7. // clang-format off
  8. static const FunctionInfo functions[] = {
  9. {0, nullptr, "GetOperationMode"},
  10. {1, nullptr, "GetOperationModeChangeEvent"},
  11. {2, nullptr, "EnableAudioVisual"},
  12. {3, nullptr, "DisableAudioVisual"},
  13. {4, nullptr, "EnterSleepAndWait"},
  14. {5, nullptr, "GetCradleStatus"},
  15. {6, nullptr, "FadeInDisplay"},
  16. {7, nullptr, "FadeOutDisplay"},
  17. {8, nullptr, "GetCradleFwVersion"},
  18. {9, nullptr, "NotifyCecSettingsChanged"},
  19. {10, nullptr, "SetOperationModePolicy"},
  20. {11, nullptr, "GetDefaultDisplayResolution"},
  21. {12, nullptr, "GetDefaultDisplayResolutionChangeEvent"},
  22. {13, nullptr, "UpdateDefaultDisplayResolution"},
  23. {14, nullptr, "ShouldSleepOnBoot"},
  24. {15, nullptr, "NotifyHdcpApplicationExecutionStarted"},
  25. {16, nullptr, "NotifyHdcpApplicationExecutionFinished"},
  26. {17, nullptr, "NotifyHdcpApplicationDrawingStarted"},
  27. {18, nullptr, "NotifyHdcpApplicationDrawingFinished"},
  28. {19, nullptr, "GetHdcpAuthenticationFailedEvent"},
  29. {20, nullptr, "GetHdcpAuthenticationFailedEmulationEnabled"},
  30. {21, nullptr, "SetHdcpAuthenticationFailedEmulation"},
  31. {22, nullptr, "GetHdcpStateChangeEvent"},
  32. {23, nullptr, "GetHdcpState"},
  33. {24, nullptr, "ShowCardUpdateProcessing"},
  34. {25, nullptr, "SetApplicationCecSettingsAndNotifyChanged"},
  35. {26, nullptr, "GetOperationModeSystemInfo"},
  36. {27, nullptr, "GetAppletFullAwakingSystemEvent"},
  37. };
  38. // clang-format on
  39. RegisterHandlers(functions);
  40. }
  41. OMM::~OMM() = default;
  42. } // namespace Service::AM