mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-20 00:41:40 +00:00
2ea8d5bd5f
* hle: Improve IRoInterface logic This commit contains a little rewrite of IRoInterface to fix some issues that we were facing on some recent games (AC3 Remastered & Final Fantasy VIII Remastered) Related issues: - https://github.com/Ryujinx/Ryujinx-Games-List/issues/196 * Address comments
35 lines
No EOL
1.2 KiB
C#
35 lines
No EOL
1.2 KiB
C#
using Ryujinx.HLE.Loaders.Executables;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ro
|
|
{
|
|
class NroInfo
|
|
{
|
|
public NxRelocatableObject Executable { get; private set; }
|
|
|
|
public byte[] Hash { get; private set; }
|
|
public ulong NroAddress { get; private set; }
|
|
public ulong NroSize { get; private set; }
|
|
public ulong BssAddress { get; private set; }
|
|
public ulong BssSize { get; private set; }
|
|
public ulong TotalSize { get; private set; }
|
|
public ulong NroMappedAddress { get; set; }
|
|
|
|
public NroInfo(
|
|
NxRelocatableObject executable,
|
|
byte[] hash,
|
|
ulong nroAddress,
|
|
ulong nroSize,
|
|
ulong bssAddress,
|
|
ulong bssSize,
|
|
ulong totalSize)
|
|
{
|
|
Executable = executable;
|
|
Hash = hash;
|
|
NroAddress = nroAddress;
|
|
NroSize = nroSize;
|
|
BssAddress = bssAddress;
|
|
BssSize = bssSize;
|
|
TotalSize = totalSize;
|
|
}
|
|
}
|
|
} |