mirror of
https://github.com/switchbrew/nx-hbloader.git
synced 2025-06-21 13:32:40 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8f5a425e6e | ||
|
5ac0dfe82d | ||
|
cd6a723acb | ||
|
b38421d04a | ||
|
f6c46269ef |
2
Makefile
2
Makefile
@ -43,7 +43,7 @@ SOURCES := source
|
||||
DATA := data
|
||||
INCLUDES := include
|
||||
#ROMFS := romfs
|
||||
APP_VERSION := 2.4.2
|
||||
APP_VERSION := 2.4.4
|
||||
|
||||
ifeq ($(RELEASE),)
|
||||
APP_VERSION := $(APP_VERSION)-$(shell git describe --dirty --always)
|
||||
|
3
hbl.json
3
hbl.json
@ -245,7 +245,8 @@
|
||||
{
|
||||
"type": "debug_flags",
|
||||
"value": {
|
||||
"allow_debug": true,
|
||||
"allow_debug": false,
|
||||
"force_debug_prod": false,
|
||||
"force_debug": true
|
||||
}
|
||||
},
|
||||
|
@ -44,7 +44,7 @@ bool __nx_fsdev_support_cwd = false;
|
||||
// Used by trampoline.s
|
||||
Result g_lastRet = 0;
|
||||
|
||||
void NORETURN nroEntrypointTrampoline(const ConfigEntry* entries, u64 handle, u64 entrypoint);
|
||||
void NX_NORETURN nroEntrypointTrampoline(const ConfigEntry* entries, u64 handle, u64 entrypoint);
|
||||
|
||||
void __libnx_initheap(void)
|
||||
{
|
||||
@ -501,11 +501,11 @@ void loadNro(void)
|
||||
// LastLoadResult
|
||||
entries[6].Value[0] = g_lastRet;
|
||||
// RandomSeed
|
||||
entries[8].Value[0] = randomGet64();
|
||||
entries[8].Value[1] = randomGet64();
|
||||
entries[9].Value[0] = randomGet64();
|
||||
entries[9].Value[1] = randomGet64();
|
||||
// HosVersion
|
||||
entries[10].Value[0] = hosversionGet();
|
||||
entries[10].Value[1] = hosversionIsAtmosphere() ? 0x41544d4f53504852UL : 0; // 'ATMOSPHR'
|
||||
entries[11].Value[0] = hosversionGet();
|
||||
entries[11].Value[1] = hosversionIsAtmosphere() ? 0x41544d4f53504852UL : 0; // 'ATMOSPHR'
|
||||
|
||||
g_nroAddr = (u64)map_addr;
|
||||
g_nroSize = nro_size;
|
||||
|
Loading…
Reference in New Issue
Block a user