mirror of
https://github.com/wiiu-env/region_free_plugin.git
synced 2024-11-21 19:09:17 +01:00
Make sure to save the selection when auto detection is disabled
This commit is contained in:
parent
a6619ab33d
commit
7d6c9bd08e
@ -112,6 +112,11 @@ void SetupRegionSpoofing() {
|
||||
// Save (updated) title settings to the storage
|
||||
if (!saveTitleRegionInfo({OSGetTitleID(), gCurrentLanguage, gCurrentProductArea})) {
|
||||
DEBUG_FUNCTION_LINE_ERR("Failed to save current title region info to storage");
|
||||
} else {
|
||||
WUPSStorageError err;
|
||||
if ((err = WUPSStorageAPI::SaveStorage()) != WUPS_STORAGE_ERROR_SUCCESS) {
|
||||
DEBUG_FUNCTION_LINE_ERR("Failed to save storage: %s (%d)", WUPSStorageAPI_GetStatusStr(err), err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user