mirror of
https://github.com/wiiu-env/libmocha.git
synced 2024-11-17 00:49:24 +01:00
Fix open flags check
Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>
This commit is contained in:
parent
e1274af0ea
commit
cd0f3d1281
@ -48,7 +48,7 @@ int __fsa_open(struct _reent *r,
|
||||
}
|
||||
|
||||
// Open the file
|
||||
FSOpenFileFlags openFlags = (mode & O_UNENCRYPTED) ? FS_OPEN_FLAG_UNENCRYPTED : FS_OPEN_FLAG_NONE;
|
||||
FSOpenFileFlags openFlags = (flags & O_UNENCRYPTED) ? FS_OPEN_FLAG_UNENCRYPTED : FS_OPEN_FLAG_NONE;
|
||||
|
||||
auto *deviceData = (FSADeviceData *) r->deviceData;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user