aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Loaders
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/Loaders')
-rw-r--r--Ryujinx.HLE/Loaders/Executables/NxRelocatableObject.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Loaders/Executables/NxRelocatableObject.cs b/Ryujinx.HLE/Loaders/Executables/NxRelocatableObject.cs
index eb3ca94a..e68fe267 100644
--- a/Ryujinx.HLE/Loaders/Executables/NxRelocatableObject.cs
+++ b/Ryujinx.HLE/Loaders/Executables/NxRelocatableObject.cs
@@ -13,6 +13,7 @@ namespace Ryujinx.HLE.Loaders.Executables
public int RoOffset { get; private set; }
public int DataOffset { get; private set; }
public int BssSize { get; private set; }
+ public int FileSize { get; private set; }
public int BssOffset => DataOffset + Data.Length;
@@ -59,6 +60,8 @@ namespace Ryujinx.HLE.Loaders.Executables
Text = Read(textOffset, textSize);
Ro = Read(roOffset, roSize);
Data = Read(dataOffset, dataSize);
+
+ FileSize = fileSize;
}
}
} \ No newline at end of file