From 41034933887d9d7594a3b33db9aca92ddb704125 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 26 Aug 2022 21:55:09 +0200 Subject: [PATCH] Use latest WUPS version --- Dockerfile | 2 +- source/utils/StorageUtils.cpp | 4 ++-- source/utils/StorageUtils.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6fdeae..cad7685 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM wiiuenv/devkitppc:20220806 COPY --from=wiiuenv/wiiumodulesystem:20220724 /artifacts $DEVKITPRO -COPY --from=wiiuenv/wiiupluginsystem:20220724 /artifacts $DEVKITPRO +COPY --from=wiiuenv/wiiupluginsystem:20220826 /artifacts $DEVKITPRO COPY --from=wiiuenv/libfunctionpatcher:20220724 /artifacts $DEVKITPRO COPY --from=wiiuenv/libmappedmemory:20220724 /artifacts $DEVKITPRO COPY --from=wiiuenv/libwupsbackend:20220724 /artifacts $DEVKITPRO diff --git a/source/utils/StorageUtils.cpp b/source/utils/StorageUtils.cpp index 8353554..58f9688 100644 --- a/source/utils/StorageUtils.cpp +++ b/source/utils/StorageUtils.cpp @@ -49,7 +49,7 @@ static void processJson(wups_storage_item_t *items, nlohmann::json json) { } } -int StorageUtils::OpenStorage(const char *plugin_id, wups_storage_item_t *items) { +WUPSStorageError StorageUtils::OpenStorage(const char *plugin_id, wups_storage_item_t *items) { if (!plugin_id || !items) { return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS; } @@ -107,7 +107,7 @@ static nlohmann::json processItems(wups_storage_item_t *items) { return json; } -int StorageUtils::CloseStorage(const char *plugin_id, wups_storage_item_t *items) { +WUPSStorageError StorageUtils::CloseStorage(const char *plugin_id, wups_storage_item_t *items) { if (!plugin_id || !items) { return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS; } diff --git a/source/utils/StorageUtils.h b/source/utils/StorageUtils.h index 26c199c..46453fe 100644 --- a/source/utils/StorageUtils.h +++ b/source/utils/StorageUtils.h @@ -4,7 +4,7 @@ class StorageUtils { public: - static int OpenStorage(const char *plugin_id, wups_storage_item_t *items); + static WUPSStorageError OpenStorage(const char *plugin_id, wups_storage_item_t *items); - static int CloseStorage(const char *plugin_id, wups_storage_item_t *items); + static WUPSStorageError CloseStorage(const char *plugin_id, wups_storage_item_t *items); };