mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 16:45:45 +00:00
33 lines
927 B
C#
33 lines
927 B
C#
|
namespace Ryujinx.HLE.Loaders.Processes
|
|||
|
{
|
|||
|
static class ProcessConst
|
|||
|
{
|
|||
|
// Binaries from exefs are loaded into mem in this order. Do not change.
|
|||
|
public static readonly string[] ExeFsPrefixes =
|
|||
|
{
|
|||
|
"rtld",
|
|||
|
"main",
|
|||
|
"subsdk0",
|
|||
|
"subsdk1",
|
|||
|
"subsdk2",
|
|||
|
"subsdk3",
|
|||
|
"subsdk4",
|
|||
|
"subsdk5",
|
|||
|
"subsdk6",
|
|||
|
"subsdk7",
|
|||
|
"subsdk8",
|
|||
|
"subsdk9",
|
|||
|
"sdk"
|
|||
|
};
|
|||
|
|
|||
|
public static readonly string MainNpdmPath = "/main.npdm";
|
|||
|
|
|||
|
public const int NroAsetMagic = ('A' << 0) | ('S' << 8) | ('E' << 16) | ('T' << 24);
|
|||
|
|
|||
|
public const bool AslrEnabled = true;
|
|||
|
|
|||
|
public const int NsoArgsHeaderSize = 8;
|
|||
|
public const int NsoArgsDataSize = 0x9000;
|
|||
|
public const int NsoArgsTotalSize = NsoArgsHeaderSize + NsoArgsDataSize;
|
|||
|
}
|
|||
|
}
|