mirror of
https://github.com/wiiu-env/ContentRedirectionModule.git
synced 2024-11-17 17:09:23 +01:00
Fix FSOpenFileWrapper result
This commit is contained in:
parent
bfa30678a0
commit
f7358bc380
@ -281,8 +281,9 @@ FSError FSWrapper::FSOpenFileWrapper(const char *path, const char *mode, FSFileH
|
||||
result = FS_ERROR_NOT_DIR;
|
||||
} else if (err == ENFILE || err == EMFILE) {
|
||||
result = FS_ERROR_MAX_FILES;
|
||||
} else {
|
||||
result = FS_ERROR_MEDIA_ERROR;
|
||||
}
|
||||
err = FS_ERROR_MEDIA_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user