diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-04-22 01:21:49 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-04-22 01:22:46 -0300 |
| commit | bd9b1e2c6b912c7cdab55ec6acc063c88a59cff1 (patch) | |
| tree | 077ab8da47828f9fd23893eeefa54c7d8fb2a314 /Ryujinx.Core/Loaders/Executables/Nro.cs | |
| parent | 4906acdde96c09b4e12a3801a4bacd5233a2f8e6 (diff) | |
Stub a few services, add support for generating call stacks on the CPU
Diffstat (limited to 'Ryujinx.Core/Loaders/Executables/Nro.cs')
| -rw-r--r-- | Ryujinx.Core/Loaders/Executables/Nro.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Ryujinx.Core/Loaders/Executables/Nro.cs b/Ryujinx.Core/Loaders/Executables/Nro.cs index 9f4ef59f..c3411d22 100644 --- a/Ryujinx.Core/Loaders/Executables/Nro.cs +++ b/Ryujinx.Core/Loaders/Executables/Nro.cs @@ -4,6 +4,8 @@ namespace Ryujinx.Core.Loaders.Executables { class Nro : IExecutable { + public string Name { get; private set; } + public byte[] Text { get; private set; } public byte[] RO { get; private set; } public byte[] Data { get; private set; } @@ -14,8 +16,10 @@ namespace Ryujinx.Core.Loaders.Executables public int DataOffset { get; private set; } public int BssSize { get; private set; } - public Nro(Stream Input) + public Nro(Stream Input, string Name) { + this.Name = Name; + BinaryReader Reader = new BinaryReader(Input); Input.Seek(4, SeekOrigin.Begin); |
