From 482a529b0f5d9c4ab5b91086d69be91ec365ad0b Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 8 May 2024 11:52:25 +0200 Subject: [PATCH] Fix changing the auto apply setting directly in the splash screen --- src/globals.h | 2 +- src/modpackSelector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/globals.h b/src/globals.h index f777251..512e88b 100644 --- a/src/globals.h +++ b/src/globals.h @@ -2,7 +2,7 @@ #include "version.h" #include -#define VERSION "v0.1.4" +#define VERSION "v0.1.5" #define VERSION_FULL VERSION VERSION_EXTRA #define AUTO_APPLY_SINGLE_MODPACK_STRING "autoApplySingleModpack" diff --git a/src/modpackSelector.cpp b/src/modpackSelector.cpp index b411b08..3705711 100644 --- a/src/modpackSelector.cpp +++ b/src/modpackSelector.cpp @@ -226,7 +226,7 @@ void HandleMultiModPacks(uint64_t titleID) { OSScreenFlipBuffersEx(SCREEN_TV); OSScreenFlipBuffersEx(SCREEN_DRC); - + gAutoApplySingleModpack = !gAutoApplySingleModpack; // If the value has changed, we store it in the storage. if (WUPSStorageAPI::Store(AUTO_APPLY_SINGLE_MODPACK_STRING, gAutoApplySingleModpack) == WUPS_STORAGE_ERROR_SUCCESS) { if (WUPSStorageAPI::SaveStorage() != WUPS_STORAGE_ERROR_SUCCESS) {