mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[VFS] Fix an outdated commit of OpenFile that somehow slipped through.
This commit is contained in:
parent
9a8d77137c
commit
0d3039f5ba
|
|
@ -289,7 +289,7 @@ X_STATUS VirtualFileSystem::OpenFile(const std::string& path,
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
// Create if needed (either new or as a replacement).
|
// Create if needed (either new or as a replacement).
|
||||||
entry = CreatePath(
|
entry = CreatePath(
|
||||||
path, !directory ? kFileAttributeNormal : kFileAttributeDirectory);
|
path, !is_directory ? kFileAttributeNormal : kFileAttributeDirectory);
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
return X_STATUS_ACCESS_DENIED;
|
return X_STATUS_ACCESS_DENIED;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue