From 82aa1e20738098035f82656b0a8d2f75437d747c Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 28 Apr 2022 20:01:19 +0200 Subject: [PATCH] Add SDUtilsGetVersion --- Dockerfile | 4 ++-- source/exports.cpp | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d8d743..b1bda57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM wiiuenv/devkitppc:20220303 +FROM wiiuenv/devkitppc:20220417 COPY --from=wiiuenv/wiiumodulesystem:20220123 /artifacts $DEVKITPRO -COPY --from=wiiuenv/libsdutils:20220303 /artifacts $DEVKITPRO +COPY --from=wiiuenv/libsdutils:20220428 /artifacts $DEVKITPRO WORKDIR project \ No newline at end of file diff --git a/source/exports.cpp b/source/exports.cpp index 3d5e155..d75ad39 100644 --- a/source/exports.cpp +++ b/source/exports.cpp @@ -48,5 +48,11 @@ bool SDUtilsRemoveAttachHandler(SDAttachHandlerFn fn) { return false; } +SDUtilsVersion SDUtilsGetVersion() { + return SDUTILS_MODULE_VERSION; +} + +WUMS_EXPORT_FUNCTION(SDUtilsGetVersion); + WUMS_EXPORT_FUNCTION(SDUtilsAddAttachHandler); WUMS_EXPORT_FUNCTION(SDUtilsRemoveAttachHandler); \ No newline at end of file