Skip to content

Commit

Permalink
Fix changing the auto apply setting directly in the splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed May 8, 2024
1 parent 7aae59d commit 482a529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/globals.h
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/modpackSelector.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 482a529

Please sign in to comment.