From a2c0d0c4e8de531024ac126d0cc2c3acdcc6c127 Mon Sep 17 00:00:00 2001 From: Thog Date: Mon, 8 Oct 2018 19:17:25 +0200 Subject: [PATCH] Fix some code style issues --- Ryujinx.HLE/HOS/Services/Ldr/IRoInterface.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Ldr/IRoInterface.cs b/Ryujinx.HLE/HOS/Services/Ldr/IRoInterface.cs index 3f8e28b95b..77c3cd6824 100644 --- a/Ryujinx.HLE/HOS/Services/Ldr/IRoInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Ldr/IRoInterface.cs @@ -60,12 +60,11 @@ namespace Ryujinx.HLE.HOS.Services.Ldr class NroInfo { - public Nro Executable { get; private set; } - public byte[] Hash { get; private set; } - public long NroAddress { get; private set; } - public long TotalSize { get; private set; } - public long NroMappedAddress; - + public Nro Executable { get; private set; } + public byte[] Hash { get; private set; } + public long NroAddress { get; private set; } + public long TotalSize { get; private set; } + public long NroMappedAddress { get; set; } public NroInfo(Nro Executable, byte[] Hash, long TotalSize) { @@ -153,6 +152,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr } } } + return false; } @@ -165,6 +165,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr return true; } } + return false; } @@ -243,6 +244,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr } Res = new NroInfo(Executable, NroHash, Executable.Text.Length + Executable.RO.Length + Executable.Data.Length + Executable.BssSize); + return 0; }