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 COPY --from=wiiuenv/libmappedmemory:20220904 /artifacts $DEVKITPRO
WORKDIR project WORKDIR project

View File

@ -395,26 +395,26 @@ 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) {
return; return;
} }
wups_storage_item_t *general_settings; wups_storage_item_t* general_settings;
if (WUPS_GetSubItem(root, CAT_GENERAL_SETTINGS, &general_settings) != WUPS_STORAGE_ERROR_SUCCESS) { if (WUPS_GetSubItem(root, CAT_GENERAL_SETTINGS, &general_settings) != WUPS_STORAGE_ERROR_SUCCESS) {
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;
} }