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
This commit is contained in:
Ac_K 2018-02-22 01:51:17 +01:00 committed by gdkchan
parent b2f733da78
commit 224211367f
8 changed files with 110 additions and 36 deletions

View file

@ -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;