mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-08 17:20:53 +01:00
[fs] Preserve guest file open modes in real VFS
This commit is contained in:
parent
801c472017
commit
a1caf852ff
8 changed files with 51 additions and 49 deletions
|
|
@ -258,7 +258,7 @@ Result VfsDirectoryServiceWrapper::OpenFile(FileSys::VirtualFile* out_file,
|
|||
npath.remove_prefix(1);
|
||||
}
|
||||
|
||||
auto file = backing->GetFileRelative(npath);
|
||||
auto file = backing->GetFileRelative(npath, mode);
|
||||
if (file == nullptr) {
|
||||
return FileSys::ResultPathNotFound;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue