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:
parent
65c67bb4a5
commit
d5c0de8362
10 changed files with 657 additions and 13 deletions
18
Ryujinx.HLE/HOS/Services/Ldr/LoaderErr.cs
Normal file
18
Ryujinx.HLE/HOS/Services/Ldr/LoaderErr.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
namespace Ryujinx.HLE.HOS.Services.Ldr
|
||||
{
|
||||
static class LoaderErr
|
||||
{
|
||||
public const int InvalidMemoryState = 51;
|
||||
public const int InvalidNro = 52;
|
||||
public const int InvalidNrr = 53;
|
||||
public const int MaxNro = 55;
|
||||
public const int MaxNrr = 56;
|
||||
public const int NroAlreadyLoaded = 57;
|
||||
public const int NroHashNotPresent = 54;
|
||||
public const int UnalignedAddress = 81;
|
||||
public const int BadSize = 82;
|
||||
public const int BadNroAddress = 84;
|
||||
public const int BadNrrAddress = 85;
|
||||
public const int BadInitialization = 87;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue