diff options
Diffstat (limited to 'Ryujinx.Core/OsHle/Objects')
| -rw-r--r-- | Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs b/Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs index 691bb202..712874e8 100644 --- a/Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs +++ b/Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs @@ -13,6 +13,7 @@ namespace Ryujinx.Core.OsHle.Objects.Am { m_Commands = new Dictionary<int, ServiceProcessRequest>() { + { 10, SetScreenShotPermission }, { 11, SetOperationModeChangedNotification }, { 12, SetPerformanceModeChangedNotification }, { 13, SetFocusHandlingMode }, @@ -20,6 +21,13 @@ namespace Ryujinx.Core.OsHle.Objects.Am }; } + public long SetScreenShotPermission(ServiceCtx Context) + { + bool Enable = Context.RequestData.ReadByte() != 0 ? true : false; + + return 0; + } + public long SetOperationModeChangedNotification(ServiceCtx Context) { bool Enable = Context.RequestData.ReadByte() != 0 ? true : false; |
