aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Objects
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2018-02-22 01:51:17 +0100
committergdkchan <gab.dark.100@gmail.com>2018-02-21 21:51:17 -0300
commit224211367f52cf514f0608d69056e84a3ef37ff5 (patch)
tree9c8658f1dd3224dc7d004075514a8cd566f69e34 /Ryujinx.Core/OsHle/Objects
parentb2f733da7839ff8ba7a70a529cb9eb3eea9f0af6 (diff)
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
Diffstat (limited to 'Ryujinx.Core/OsHle/Objects')
-rw-r--r--Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs8
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;