mirror of
https://github.com/wiiu-env/ContentRedirectionModule.git
synced 2024-06-16 14:08:45 +02:00
Fix FSOpenFileWrapper result
This commit is contained in:
parent
cfe4cb3955
commit
8364e4bb16
|
@ -281,8 +281,9 @@ FSError FSWrapper::FSOpenFileWrapper(const char *path, const char *mode, FSFileH
|
||||||
result = FS_ERROR_NOT_DIR;
|
result = FS_ERROR_NOT_DIR;
|
||||||
} else if (err == ENFILE || err == EMFILE) {
|
} else if (err == ENFILE || err == EMFILE) {
|
||||||
result = FS_ERROR_MAX_FILES;
|
result = FS_ERROR_MAX_FILES;
|
||||||
|
} else {
|
||||||
|
result = FS_ERROR_MEDIA_ERROR;
|
||||||
}
|
}
|
||||||
err = FS_ERROR_MEDIA_ERROR;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user