Use latest WUPS version

This commit is contained in:
Maschell 2022-08-26 21:55:09 +02:00
parent ff5d23cae2
commit 4103493388
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
FROM wiiuenv/devkitppc:20220806 FROM wiiuenv/devkitppc:20220806
COPY --from=wiiuenv/wiiumodulesystem:20220724 /artifacts $DEVKITPRO 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/libfunctionpatcher:20220724 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libmappedmemory:20220724 /artifacts $DEVKITPRO COPY --from=wiiuenv/libmappedmemory:20220724 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libwupsbackend:20220724 /artifacts $DEVKITPRO COPY --from=wiiuenv/libwupsbackend:20220724 /artifacts $DEVKITPRO

View File

@ -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) { if (!plugin_id || !items) {
return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS; return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS;
} }
@ -107,7 +107,7 @@ static nlohmann::json processItems(wups_storage_item_t *items) {
return json; 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) { if (!plugin_id || !items) {
return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS; return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS;
} }

View File

@ -4,7 +4,7 @@
class StorageUtils { class StorageUtils {
public: 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);
}; };