Compare commits

..

5 Commits

Author SHA1 Message Date
Dave Murphy
8f5a425e6e
set debug flags properly 2024-10-23 16:39:22 +01:00
Dave Murphy
5ac0dfe82d
add force_debug_prod flag 2024-10-18 21:52:21 +01:00
borntohonk
cd6a723acb
Update NORETURN to NX_NORETURN for libnx 4.6.0+ (#38) 2024-01-30 09:57:59 +00:00
yellows8
b38421d04a
v2.4.4 2023-10-27 19:05:45 -04:00
fincs
f6c46269ef
Fix #37: regressions introduced by missed HBABI entry index updates 2022-10-16 00:06:07 +02:00
3 changed files with 8 additions and 7 deletions

View File

@ -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)

View File

@ -245,7 +245,8 @@
{
"type": "debug_flags",
"value": {
"allow_debug": true,
"allow_debug": false,
"force_debug_prod": false,
"force_debug": true
}
},

View File

@ -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;