Compare commits

...

2 Commits

Author SHA1 Message Date
Maschell
0c2da1df60 Update Dockerfile 2023-06-21 21:59:11 +02:00
Maschell
a1ddf87fbe Fix compiling with latest wut 2023-06-21 21:59:11 +02:00
3 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/wiiu-env/devkitppc:20220806 FROM ghcr.io/wiiu-env/devkitppc:20230621
WORKDIR tmp_build WORKDIR tmp_build
COPY . . COPY . .

View File

@ -1,3 +1,3 @@
FROM ghcr.io/wiiu-env/devkitppc:20220806 FROM ghcr.io/wiiu-env/devkitppc:20230621
WORKDIR project WORKDIR project

View File

@ -58,7 +58,7 @@ WUHBUtilsStatus WUHBUtils_InitLibrary() {
return WUHB_UTILS_RESULT_MODULE_NOT_FOUND; return WUHB_UTILS_RESULT_MODULE_NOT_FOUND;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_GetVersion", (void **) &sWUUGetVersion) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_GetVersion", (void **) &sWUUGetVersion) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_ERR("FindExport WUU_GetVersion failed."); DEBUG_FUNCTION_LINE_ERR("FindExport WUU_GetVersion failed.");
return WUHB_UTILS_RESULT_MODULE_MISSING_EXPORT; return WUHB_UTILS_RESULT_MODULE_MISSING_EXPORT;
} }
@ -68,37 +68,37 @@ WUHBUtilsStatus WUHBUtils_InitLibrary() {
return WUHB_UTILS_RESULT_UNSUPPORTED_VERSION; return WUHB_UTILS_RESULT_UNSUPPORTED_VERSION;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_MountBundle", (void **) &sWUUMountBundle) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_MountBundle", (void **) &sWUUMountBundle) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_MountBundle failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_MountBundle failed.");
sWUUMountBundle = nullptr; sWUUMountBundle = nullptr;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_UnmountBundle", (void **) &sWUUUnmountBundle) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_UnmountBundle", (void **) &sWUUUnmountBundle) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_UnmountBundle failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_UnmountBundle failed.");
sWUUUnmountBundle = nullptr; sWUUUnmountBundle = nullptr;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_FileOpen", (void **) &sWUUFileOpen) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_FileOpen", (void **) &sWUUFileOpen) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileOpen failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileOpen failed.");
sWUUFileOpen = nullptr; sWUUFileOpen = nullptr;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_FileRead", (void **) &sWUUFileRead) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_FileRead", (void **) &sWUUFileRead) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileRead failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileRead failed.");
sWUUFileRead = nullptr; sWUUFileRead = nullptr;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_FileClose", (void **) &sWUUFileClose) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_FileClose", (void **) &sWUUFileClose) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileClose failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileClose failed.");
sWUUFileClose = nullptr; sWUUFileClose = nullptr;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_FileExists", (void **) &sWUUFileExists) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_FileExists", (void **) &sWUUFileExists) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileExists failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_FileExists failed.");
sWUUFileExists = nullptr; sWUUFileExists = nullptr;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_GetRPXInfo", (void **) &sWUUGetRPXInfo) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_GetRPXInfo", (void **) &sWUUGetRPXInfo) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_GetRPXInfo failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_GetRPXInfo failed.");
sWUUGetRPXInfo = nullptr; sWUUGetRPXInfo = nullptr;
} }
@ -118,7 +118,7 @@ WUHBUtilsStatus WUHBUtils_GetVersion(WUHBUtilsVersion *outVersion) {
return WUHB_UTILS_RESULT_MODULE_NOT_FOUND; return WUHB_UTILS_RESULT_MODULE_NOT_FOUND;
} }
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUU_GetVersion", (void **) &sWUUGetVersion) != OS_DYNLOAD_OK) { if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUU_GetVersion", (void **) &sWUUGetVersion) != OS_DYNLOAD_OK) {
DEBUG_FUNCTION_LINE_WARN("FindExport WUU_GetVersion failed."); DEBUG_FUNCTION_LINE_WARN("FindExport WUU_GetVersion failed.");
return WUHB_UTILS_RESULT_MODULE_MISSING_EXPORT; return WUHB_UTILS_RESULT_MODULE_MISSING_EXPORT;
} }