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