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/Loaders/Executable.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Ryujinx.Core/Loaders/Executable.cs') diff --git a/Ryujinx.Core/Loaders/Executable.cs b/Ryujinx.Core/Loaders/Executable.cs index e2660838..25a62136 100644 --- a/Ryujinx.Core/Loaders/Executable.cs +++ b/Ryujinx.Core/Loaders/Executable.cs @@ -13,6 +13,7 @@ namespace Ryujinx.Core.Loaders public long ImageBase { get; private set; } public long ImageEnd { get; private set; } + public Extensions Extension { get; private set; } public Executable(IExecutable Exe, AMemory Memory, long ImageBase) { @@ -46,6 +47,8 @@ namespace Ryujinx.Core.Loaders long EhHdrEndOffset = Memory.ReadInt32(Mod0Offset + 0x14) + Mod0Offset; long ModObjOffset = Memory.ReadInt32(Mod0Offset + 0x18) + Mod0Offset; + Extension = Exe.Extension; + MapBss(BssStartOffset, BssEndOffset - BssStartOffset); ImageEnd = BssEndOffset; -- cgit v1.2.3