mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-02 16:30:47 -07:00
Implement IRoInterface (#445)
* Implement IRoInterface This is required by Super Mario Party. This commit also adds MapProcessCodeMemory and UnmapProcessCodeMemory functions in KMemoryManager. Those two calls might not reflect what the SVC of the same names do. * Fix some code style issues * Use MakeError to clarify error code * Add NRR and NRO constants * Fix some codestyle issues * Fix InvalidMemoryState error code
This commit is contained in:
@ -16,9 +16,14 @@ namespace Ryujinx.HLE.Loaders.Executables
|
||||
public int DataOffset { get; private set; }
|
||||
public int BssSize { get; private set; }
|
||||
|
||||
public Nro(Stream Input, string FilePath)
|
||||
public long SourceAddress { get; private set; }
|
||||
public long BssAddress { get; private set; }
|
||||
|
||||
public Nro(Stream Input, string FilePath, long SourceAddress = 0, long BssAddress = 0)
|
||||
{
|
||||
this.FilePath = FilePath;
|
||||
this.FilePath = FilePath;
|
||||
this.SourceAddress = SourceAddress;
|
||||
this.BssAddress = BssAddress;
|
||||
|
||||
BinaryReader Reader = new BinaryReader(Input);
|
||||
|
||||
|
Reference in New Issue
Block a user