aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs')
-rw-r--r--src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs b/src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs
index 621ab43b..6b5a8c83 100644
--- a/src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs
+++ b/src/Ryujinx.HLE/Loaders/Executables/NroExecutable.cs
@@ -8,31 +8,31 @@ namespace Ryujinx.HLE.Loaders.Executables
{
public byte[] Program { get; }
public Span<byte> Text => Program.AsSpan((int)TextOffset, (int)Header.NroSegments[0].Size);
- public Span<byte> Ro => Program.AsSpan((int)RoOffset, (int)Header.NroSegments[1].Size);
+ public Span<byte> Ro => Program.AsSpan((int)RoOffset, (int)Header.NroSegments[1].Size);
public Span<byte> Data => Program.AsSpan((int)DataOffset, (int)Header.NroSegments[2].Size);
public uint TextOffset => Header.NroSegments[0].FileOffset;
- public uint RoOffset => Header.NroSegments[1].FileOffset;
+ public uint RoOffset => Header.NroSegments[1].FileOffset;
public uint DataOffset => Header.NroSegments[2].FileOffset;
- public uint BssOffset => DataOffset + (uint)Data.Length;
- public uint BssSize => Header.BssSize;
+ public uint BssOffset => DataOffset + (uint)Data.Length;
+ public uint BssSize => Header.BssSize;
public uint Mod0Offset => (uint)Start.Mod0Offset;
- public uint FileSize => Header.Size;
+ public uint FileSize => Header.Size;
public ulong SourceAddress { get; private set; }
- public ulong BssAddress { get; private set; }
+ public ulong BssAddress { get; private set; }
public NroExecutable(IStorage inStorage, ulong sourceAddress = 0, ulong bssAddress = 0) : base(inStorage)
{
Program = new byte[FileSize];
SourceAddress = sourceAddress;
- BssAddress = bssAddress;
+ BssAddress = bssAddress;
OpenNroSegment(NroSegmentType.Text, false).Read(0, Text);
- OpenNroSegment(NroSegmentType.Ro , false).Read(0, Ro);
+ OpenNroSegment(NroSegmentType.Ro, false).Read(0, Ro);
OpenNroSegment(NroSegmentType.Data, false).Read(0, Data);
}
}
-} \ No newline at end of file
+}