Fix /vol/aoc support

This commit is contained in:
Maschell 2022-10-10 20:11:38 +02:00
parent a7b1d88fc4
commit b38e0adb61
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM wiiuenv/devkitppc:20220917 FROM wiiuenv/devkitppc:20220917
COPY --from=wiiuenv/libmappedmemory:20220904 /artifacts $DEVKITPRO COPY --from=wiiuenv/libmappedmemory:20220904 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libcontentredirection:20220916 /artifacts $DEVKITPRO COPY --from=wiiuenv/libcontentredirection:20221010 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiupluginsystem:20220904 /artifacts $DEVKITPRO COPY --from=wiiuenv/wiiupluginsystem:20220904 /artifacts $DEVKITPRO
WORKDIR project WORKDIR project

View File

@ -389,7 +389,7 @@ bool ReplaceContentInternal(const std::string &basePath, const std::string &subd
auto res = ContentRedirection_AddFSLayer(layerHandle, auto res = ContentRedirection_AddFSLayer(layerHandle,
layerName.c_str(), layerName.c_str(),
fullPath.c_str(), fullPath.c_str(),
FS_LAYER_TYPE_CONTENT_MERGE); subdir == "aoc" ? FS_LAYER_TYPE_AOC_MERGE : FS_LAYER_TYPE_CONTENT_MERGE);
if (res == CONTENT_REDIRECTION_RESULT_SUCCESS) { if (res == CONTENT_REDIRECTION_RESULT_SUCCESS) {
DEBUG_FUNCTION_LINE("Redirect /vol/%s to %s", subdir.c_str(), fullPath.c_str()); DEBUG_FUNCTION_LINE("Redirect /vol/%s to %s", subdir.c_str(), fullPath.c_str());
} else { } else {