From 224211367f52cf514f0608d69056e84a3ef37ff5 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Thu, 22 Feb 2018 01:51:17 +0100 Subject: Initiale hbmenu.nro support (#32) * Initiale hbmenu.nro support Implement missing SetScreenShotPermission object. Implement missing IsCurrentProcessBeingDebugged in SVC. Add a Extension variable to Executable. Add basic support of hbmenu.nro. * Homebrew.cs correction --- Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Ryujinx.Core/OsHle/Objects') 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() { + { 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; -- cgit v1.2.3