mirror of
https://github.com/switchbrew/nx-hbloader.git
synced 2025-08-08 01:29:24 +02:00
Added support for RandomSeed homebrew ABI key
This commit is contained in:
parent
aedf312fa0
commit
8ab9e6d8da
@ -331,6 +331,7 @@ void loadNro(void)
|
||||
{ EntryType_NextLoadPath, 0, {0, 0} },
|
||||
{ EntryType_LastLoadResult, 0, {0, 0} },
|
||||
{ EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x1fc1fff0007ffff} },
|
||||
{ EntryType_RandomSeed, 0, {0, 0} },
|
||||
{ EntryType_EndOfList, 0, {0, 0} }
|
||||
};
|
||||
|
||||
@ -355,6 +356,9 @@ void loadNro(void)
|
||||
entries[5].Value[1] = (u64) &g_nextArgv[0];
|
||||
// LastLoadResult
|
||||
entries[6].Value[0] = g_lastRet;
|
||||
// RandomSeed
|
||||
entries[8].Value[0] = randomGet64();
|
||||
entries[8].Value[1] = randomGet64();
|
||||
|
||||
u64 entrypoint = map_addr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user