From f6c46269ef2429be9ae6e06b6b5c0b3780b78085 Mon Sep 17 00:00:00 2001 From: fincs Date: Sun, 16 Oct 2022 00:06:07 +0200 Subject: [PATCH] Fix #37: regressions introduced by missed HBABI entry index updates --- Makefile | 2 +- source/main.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0a9f12b..5a80b82 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/source/main.c b/source/main.c index 2fa7aac..247dfcc 100644 --- a/source/main.c +++ b/source/main.c @@ -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;