mirror of
https://github.com/wiiu-env/sdcafiine_plugin.git
synced 2024-09-30 03:48:35 +02:00
Fix changing the auto apply setting directly in the splash screen
This commit is contained in:
parent
7aae59d29c
commit
482a529b0f
@ -2,7 +2,7 @@
|
|||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include <content_redirection/redirection.h>
|
#include <content_redirection/redirection.h>
|
||||||
|
|
||||||
#define VERSION "v0.1.4"
|
#define VERSION "v0.1.5"
|
||||||
#define VERSION_FULL VERSION VERSION_EXTRA
|
#define VERSION_FULL VERSION VERSION_EXTRA
|
||||||
|
|
||||||
#define AUTO_APPLY_SINGLE_MODPACK_STRING "autoApplySingleModpack"
|
#define AUTO_APPLY_SINGLE_MODPACK_STRING "autoApplySingleModpack"
|
||||||
|
@ -226,7 +226,7 @@ void HandleMultiModPacks(uint64_t titleID) {
|
|||||||
OSScreenFlipBuffersEx(SCREEN_TV);
|
OSScreenFlipBuffersEx(SCREEN_TV);
|
||||||
OSScreenFlipBuffersEx(SCREEN_DRC);
|
OSScreenFlipBuffersEx(SCREEN_DRC);
|
||||||
|
|
||||||
|
gAutoApplySingleModpack = !gAutoApplySingleModpack;
|
||||||
// If the value has changed, we store it in the storage.
|
// 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::Store(AUTO_APPLY_SINGLE_MODPACK_STRING, gAutoApplySingleModpack) == WUPS_STORAGE_ERROR_SUCCESS) {
|
||||||
if (WUPSStorageAPI::SaveStorage() != WUPS_STORAGE_ERROR_SUCCESS) {
|
if (WUPSStorageAPI::SaveStorage() != WUPS_STORAGE_ERROR_SUCCESS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user