mirror of
https://github.com/wiiu-env/region_free_plugin.git
synced 2024-11-22 03:19:17 +01:00
Update Dockerfile
This commit is contained in:
parent
9a3dec0c12
commit
86e360506a
@ -1,6 +1,6 @@
|
|||||||
FROM wiiuenv/devkitppc:20220806
|
FROM wiiuenv/devkitppc:20221228
|
||||||
|
|
||||||
COPY --from=wiiuenv/wiiupluginsystem:20220904 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/wiiupluginsystem:20220924 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libmappedmemory:20220904 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libmappedmemory:20220904 /artifacts $DEVKITPRO
|
||||||
|
|
||||||
WORKDIR project
|
WORKDIR project
|
||||||
|
10
src/main.cpp
10
src/main.cpp
@ -395,7 +395,7 @@ void skip_own_region_changed(ConfigItemBoolean *item, bool newValue) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void default_lang_changed(ConfigItemMultipleValues *item, uint32_t newValue) {
|
void default_lang_changed(ConfigItemMultipleValues *item, uint32_t newValue) {
|
||||||
DEBUG_FUNCTION_LINE("New value in %s changed: %d", item->configID, newValue);
|
DEBUG_FUNCTION_LINE("New value in %s changed: %d", item->configId, newValue);
|
||||||
|
|
||||||
wups_storage_item_t *root;
|
wups_storage_item_t *root;
|
||||||
if (WUPS_GetSubItem(nullptr, CAT_GENERAL_ROOT, &root) != WUPS_STORAGE_ERROR_SUCCESS) {
|
if (WUPS_GetSubItem(nullptr, CAT_GENERAL_ROOT, &root) != WUPS_STORAGE_ERROR_SUCCESS) {
|
||||||
@ -407,14 +407,14 @@ void default_lang_changed(ConfigItemMultipleValues *item, uint32_t newValue) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
WUPS_StoreInt(general_settings, item->configID, (int32_t) newValue);
|
WUPS_StoreInt(general_settings, item->configId, (int32_t) newValue);
|
||||||
if (strcmp(item->configID, VAL_DEFAULT_LANG_EUR) == 0) {
|
if (strcmp(item->configId, VAL_DEFAULT_LANG_EUR) == 0) {
|
||||||
DEBUG_FUNCTION_LINE("Updated default eur lang");
|
DEBUG_FUNCTION_LINE("Updated default eur lang");
|
||||||
gDefaultLangForEUR = (Lanuages) newValue;
|
gDefaultLangForEUR = (Lanuages) newValue;
|
||||||
} else if (strcmp(item->configID, VAL_DEFAULT_LANG_USA) == 0) {
|
} else if (strcmp(item->configId, VAL_DEFAULT_LANG_USA) == 0) {
|
||||||
DEBUG_FUNCTION_LINE("Updated default usa lang");
|
DEBUG_FUNCTION_LINE("Updated default usa lang");
|
||||||
gDefaultLangForUSA = (Lanuages) newValue;
|
gDefaultLangForUSA = (Lanuages) newValue;
|
||||||
} else if (strcmp(item->configID, VAL_DEFAULT_LANG_JPN) == 0) {
|
} else if (strcmp(item->configId, VAL_DEFAULT_LANG_JPN) == 0) {
|
||||||
DEBUG_FUNCTION_LINE("Updated default jpn lang");
|
DEBUG_FUNCTION_LINE("Updated default jpn lang");
|
||||||
gDefaultLangForJPN = (Lanuages) newValue;
|
gDefaultLangForJPN = (Lanuages) newValue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user