From 0d3039f5ba0c731780a74f3fee08b46b4e87c9f2 Mon Sep 17 00:00:00 2001 From: gibbed Date: Thu, 18 Jul 2019 17:49:15 -0500 Subject: [PATCH] [VFS] Fix an outdated commit of OpenFile that somehow slipped through. --- src/xenia/vfs/virtual_file_system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/vfs/virtual_file_system.cc b/src/xenia/vfs/virtual_file_system.cc index 774eabe45..a6be5f3cc 100644 --- a/src/xenia/vfs/virtual_file_system.cc +++ b/src/xenia/vfs/virtual_file_system.cc @@ -289,7 +289,7 @@ X_STATUS VirtualFileSystem::OpenFile(const std::string& path, if (!entry) { // Create if needed (either new or as a replacement). entry = CreatePath( - path, !directory ? kFileAttributeNormal : kFileAttributeDirectory); + path, !is_directory ? kFileAttributeNormal : kFileAttributeDirectory); if (!entry) { return X_STATUS_ACCESS_DENIED; }