Fix up formatting
This commit is contained in:
parent
d94bd25b1e
commit
1dc4d2c586
4 changed files with 14 additions and 15 deletions
|
@ -543,8 +543,7 @@ namespace Ryujinx.HLE.HOS
|
|||
|
||||
Logger.PrintInfo(LogClass.Loader, $"Loading {file.Name}...");
|
||||
|
||||
codeFs.OpenFile(out IFile nsoFile, file.FullPath.ToU8Span(), OpenMode.Read).ThrowIfFailure();
|
||||
|
||||
codeFs.OpenFile(out IFile nsoFile, file.FullPath.ToU8Span(), OpenMode.Read).ThrowIfFailure();
|
||||
NxStaticObject staticObject = new NxStaticObject(nsoFile.AsStorage());
|
||||
|
||||
staticObjects.Add(staticObject);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using ARMeilleure.Memory;
|
||||
using LibHac;
|
||||
using Ryujinx.Common;
|
||||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.HLE.HOS.Kernel.Common;
|
||||
|
@ -6,7 +7,6 @@ using Ryujinx.HLE.HOS.Kernel.Memory;
|
|||
using Ryujinx.HLE.HOS.Kernel.Process;
|
||||
using Ryujinx.HLE.Loaders.Executables;
|
||||
using Ryujinx.HLE.Loaders.Npdm;
|
||||
using LibHac;
|
||||
|
||||
namespace Ryujinx.HLE.HOS
|
||||
{
|
||||
|
@ -310,4 +310,4 @@ namespace Ryujinx.HLE.HOS
|
|||
return SetProcessMemoryPermission(dataStart, end - dataStart, MemoryPermission.ReadAndWrite);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,16 +1,16 @@
|
|||
using Ryujinx.HLE.Loaders.Compression;
|
||||
using System.IO;
|
||||
using LibHac;
|
||||
using LibHac.Fs;
|
||||
using Ryujinx.HLE.Loaders.Compression;
|
||||
using System.IO;
|
||||
|
||||
namespace Ryujinx.HLE.Loaders.Executables
|
||||
{
|
||||
class KernelInitialProcess : Kip, IExecutable
|
||||
{
|
||||
|
||||
public byte[] Text { get; private set; }
|
||||
public byte[] Ro { get; private set; }
|
||||
public byte[] Data { get; private set; }
|
||||
public byte[] Text { get; }
|
||||
public byte[] Ro { get; }
|
||||
public byte[] Data { get; }
|
||||
|
||||
public int TextOffset => Header.Sections[0].OutOffset;
|
||||
public int RoOffset => Header.Sections[1].OutOffset;
|
||||
|
@ -18,7 +18,7 @@ namespace Ryujinx.HLE.Loaders.Executables
|
|||
public int BssOffset => Header.Sections[3].OutOffset;
|
||||
public int BssSize => Header.Sections[3].DecompressedSize;
|
||||
|
||||
public int[] Capabilities { get; set; }
|
||||
public int[] Capabilities { get; }
|
||||
|
||||
public KernelInitialProcess(IStorage inStorage) : base(inStorage)
|
||||
{
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
using LibHac;
|
||||
using LibHac.Fs;
|
||||
using Ryujinx.HLE.Loaders.Compression;
|
||||
using System;
|
||||
using System.IO;
|
||||
using LibHac.Fs;
|
||||
using LibHac;
|
||||
|
||||
namespace Ryujinx.HLE.Loaders.Executables
|
||||
{
|
||||
class NxStaticObject : Nso, IExecutable
|
||||
{
|
||||
|
||||
public byte[] Text { get; private set; }
|
||||
public byte[] Ro { get; private set; }
|
||||
public byte[] Data { get; private set; }
|
||||
public byte[] Text { get; }
|
||||
public byte[] Ro { get; }
|
||||
public byte[] Data { get; }
|
||||
|
||||
public int TextOffset => (int)Sections[0].MemoryOffset;
|
||||
public int RoOffset => (int)Sections[1].MemoryOffset;
|
||||
|
|
Loading…
Add table
Reference in a new issue