Fix #37: regressions introduced by missed HBABI entry index updates

This commit is contained in:
fincs 2022-10-16 00:06:07 +02:00
parent b1406d9eaa
commit f6c46269ef
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60
2 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ SOURCES := source
DATA := data
INCLUDES := include
#ROMFS := romfs
APP_VERSION := 2.4.2
APP_VERSION := 2.4.3
ifeq ($(RELEASE),)
APP_VERSION := $(APP_VERSION)-$(shell git describe --dirty --always)

View File

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