Fix changing the auto apply setting directly in the splash screen

This commit is contained in:
Maschell 2024-05-08 11:52:25 +02:00
parent 7aae59d29c
commit 482a529b0f
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#include "version.h"
#include <content_redirection/redirection.h>
#define VERSION "v0.1.4"
#define VERSION "v0.1.5"
#define VERSION_FULL VERSION VERSION_EXTRA
#define AUTO_APPLY_SINGLE_MODPACK_STRING "autoApplySingleModpack"

View File

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