AmISelfController.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. namespace Ryujinx.OsHle.Objects
  2. {
  3. class AmISelfController
  4. {
  5. public static long SetOperationModeChangedNotification(ServiceCtx Context)
  6. {
  7. bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
  8. return 0;
  9. }
  10. public static long SetPerformanceModeChangedNotification(ServiceCtx Context)
  11. {
  12. bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
  13. return 0;
  14. }
  15. public static long SetFocusHandlingMode(ServiceCtx Context)
  16. {
  17. bool Flag1 = Context.RequestData.ReadByte() != 0 ? true : false;
  18. bool Flag2 = Context.RequestData.ReadByte() != 0 ? true : false;
  19. bool Flag3 = Context.RequestData.ReadByte() != 0 ? true : false;
  20. return 0;
  21. }
  22. public static long SetOutOfFocusSuspendingEnabled(ServiceCtx Context)
  23. {
  24. bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
  25. return 0;
  26. }
  27. }
  28. }