From aa3c5db46bcea23b6bd95ab2ee869613d85d9a4a Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 2 Mar 2024 11:22:16 +0100 Subject: [PATCH] Fix config menu and use latest WUPS version --- Dockerfile | 2 +- src/config.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef9bc83..b15f2e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/wiiu-env/devkitppc:20231112 -COPY --from=ghcr.io/wiiu-env/wiiupluginsystem:0.8.0-dev-20240223-46f4cf6 /artifacts $DEVKITPRO +COPY --from=ghcr.io/wiiu-env/wiiupluginsystem:0.8.0-dev-20240302-3b5cc2f /artifacts $DEVKITPRO COPY --from=ghcr.io/wiiu-env/libmappedmemory:20230621 /artifacts $DEVKITPRO COPY --from=ghcr.io/wiiu-env/libnotifications:20230621 /artifacts $DEVKITPRO diff --git a/src/config.cpp b/src/config.cpp index 75656fc..b081a21 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -206,9 +206,9 @@ WUPSConfigAPICallbackStatus ConfigMenuOpenedCallback(WUPSConfigCategoryHandle ro possibleFormatValues, &multipleValueItemCallback)); - root.add(WUPSConfigItemIntegerRange::Create(FORMAT_CONFIG_STRING, + root.add(WUPSConfigItemIntegerRange::Create(QUALITY_CONFIG_STRING, "JPEG quality", - FORMAT_CONFIG_DEFAULT, gQuality, + QUALITY_CONFIG_DEFAULT, gQuality, 10, 100, &integerRangeItemCallback)); root.add(WUPSConfigItemBoolean::Create(RESERVED_BIT_USAGE_CONFIG_STRING,