Update WUU_GetVersion

This commit is contained in:
Maschell 2022-09-04 18:39:02 +02:00
parent b5b7b528cb
commit c286ff4e6f

View File

@ -137,8 +137,12 @@ WUHBUtilsApiErrorType WUU_GetRPXInfo(const char *path, BundleSource source, WUHB
return WUHB_UTILS_API_ERROR_NONE;
}
uint32_t WUU_GetVersion() {
return WUHB_UTILS_MODULE_VERSION;
WUHBUtilsApiErrorType WUU_GetVersion(WUHBUtilsVersion *outVersion) {
if (!outVersion) {
return WUHB_UTILS_API_ERROR_INVALID_ARG;
}
*outVersion = 1;
return WUHB_UTILS_API_ERROR_NONE;
}
WUMS_EXPORT_FUNCTION(WUU_MountBundle);