Update Dockerfile

This commit is contained in:
Maschell 2023-01-05 19:04:34 +01:00
parent 9a3dec0c12
commit 86e360506a
2 changed files with 8 additions and 8 deletions

View File

@ -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
WORKDIR project

View File

@ -395,7 +395,7 @@ void skip_own_region_changed(ConfigItemBoolean *item, bool 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;
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;
}
WUPS_StoreInt(general_settings, item->configID, (int32_t) newValue);
if (strcmp(item->configID, VAL_DEFAULT_LANG_EUR) == 0) {
WUPS_StoreInt(general_settings, item->configId, (int32_t) newValue);
if (strcmp(item->configId, VAL_DEFAULT_LANG_EUR) == 0) {
DEBUG_FUNCTION_LINE("Updated default eur lang");
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");
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");
gDefaultLangForJPN = (Lanuages) newValue;
}