mirror of
https://github.com/wiiu-env/libmocha.git
synced 2026-03-21 18:04:20 -05: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