Skip to content

Commit 60b711c

Browse files
committed
Update Dockerfile
1 parent 884a356 commit 60b711c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/wiiu-env/devkitppc:20240423
1+
FROM ghcr.io/wiiu-env/devkitppc:20240505
22

33
COPY --from=ghcr.io/wiiu-env/libfunctionpatcher:20230621 /artifacts $DEVKITPRO
44
COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20240424 /artifacts $DEVKITPRO

src/FSWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ FSError FSWrapper::FSReadDirWrapper(FSDirectoryHandle handle, FSDirectoryEntry *
129129
result = FS_ERROR_OK;
130130
} else {
131131
auto err = errno;
132-
if (err != 0 && err != 2) { // newlib currently has a bug and doesn't clear errno properly when the end of a dir is reached
132+
if (err != 0) {
133133
DEBUG_FUNCTION_LINE_ERR("[%s] Failed to read dir %08X (handle %08X). errno %d (%s)", getName().c_str(), dir, handle, err, strerror(err));
134134
result = FS_ERROR_MEDIA_ERROR;
135135
}

0 commit comments

Comments
 (0)