Skip to content

Commit 96e8ddf

Browse files
committed
Fix compiling with latest wut
1 parent 0bfa5be commit 96e8ddf

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM ghcr.io/wiiu-env/devkitppc:20221228
1+
FROM ghcr.io/wiiu-env/devkitppc:20230417
22

3-
COPY --from=ghcr.io/wiiu-env/libfunctionpatcher:20230106 /artifacts $DEVKITPRO
4-
COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20230106 /artifacts $DEVKITPRO
5-
COPY --from=ghcr.io/wiiu-env/libromfs_wiiu:20220904 /artifacts $DEVKITPRO
6-
COPY --from=ghcr.io/wiiu-env/libcontentredirection:20221010 /artifacts $DEVKITPRO
3+
COPY --from=ghcr.io/wiiu-env/libfunctionpatcher:20230417 /artifacts $DEVKITPRO
4+
COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20230417 /artifacts $DEVKITPRO
5+
COPY --from=ghcr.io/wiiu-env/libromfs_wiiu:20230417 /artifacts $DEVKITPRO
6+
COPY --from=ghcr.io/wiiu-env/libcontentredirection:20230417 /artifacts $DEVKITPRO
77

88
WORKDIR project

src/export.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,27 @@ bool getAOCPath(std::string &outStr) {
3636
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_Acquire failed");
3737
return false;
3838
}
39-
if (OSDynLoad_FindExport(aoc_handle, false, "AOC_Initialize", reinterpret_cast<void **>(&AOC_Initialize)) != OS_DYNLOAD_OK) {
39+
if (OSDynLoad_FindExport(aoc_handle, OS_DYNLOAD_EXPORT_FUNC, "AOC_Initialize", reinterpret_cast<void **>(&AOC_Initialize)) != OS_DYNLOAD_OK) {
4040
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_FindExport failed");
4141
goto end;
4242
}
43-
if (OSDynLoad_FindExport(aoc_handle, false, "AOC_Finalize", reinterpret_cast<void **>(&AOC_Finalize)) != OS_DYNLOAD_OK) {
43+
if (OSDynLoad_FindExport(aoc_handle, OS_DYNLOAD_EXPORT_FUNC, "AOC_Finalize", reinterpret_cast<void **>(&AOC_Finalize)) != OS_DYNLOAD_OK) {
4444
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_FindExport failed");
4545
goto end;
4646
}
47-
if (OSDynLoad_FindExport(aoc_handle, false, "AOC_OpenTitle", reinterpret_cast<void **>(&AOC_OpenTitle)) != OS_DYNLOAD_OK) {
47+
if (OSDynLoad_FindExport(aoc_handle, OS_DYNLOAD_EXPORT_FUNC, "AOC_OpenTitle", reinterpret_cast<void **>(&AOC_OpenTitle)) != OS_DYNLOAD_OK) {
4848
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_FindExport failed");
4949
goto end;
5050
}
51-
if (OSDynLoad_FindExport(aoc_handle, false, "AOC_ListTitle", reinterpret_cast<void **>(&AOC_ListTitle)) != OS_DYNLOAD_OK) {
51+
if (OSDynLoad_FindExport(aoc_handle, OS_DYNLOAD_EXPORT_FUNC, "AOC_ListTitle", reinterpret_cast<void **>(&AOC_ListTitle)) != OS_DYNLOAD_OK) {
5252
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_FindExport failed");
5353
goto end;
5454
}
55-
if (OSDynLoad_FindExport(aoc_handle, false, "AOC_CalculateWorkBufferSize", reinterpret_cast<void **>(&AOC_CalculateWorkBufferSize)) != OS_DYNLOAD_OK) {
55+
if (OSDynLoad_FindExport(aoc_handle, OS_DYNLOAD_EXPORT_FUNC, "AOC_CalculateWorkBufferSize", reinterpret_cast<void **>(&AOC_CalculateWorkBufferSize)) != OS_DYNLOAD_OK) {
5656
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_FindExport failed");
5757
goto end;
5858
}
59-
if (OSDynLoad_FindExport(aoc_handle, false, "AOC_CloseTitle", reinterpret_cast<void **>(&AOC_CloseTitle)) != OS_DYNLOAD_OK) {
59+
if (OSDynLoad_FindExport(aoc_handle, OS_DYNLOAD_EXPORT_FUNC, "AOC_CloseTitle", reinterpret_cast<void **>(&AOC_CloseTitle)) != OS_DYNLOAD_OK) {
6060
DEBUG_FUNCTION_LINE_WARN("OSDynLoad_FindExport failed");
6161
goto end;
6262
}

0 commit comments

Comments
 (0)