[VFS] Fixed allow_game_relative_writes to write invalid cached entries

This PR fixes https://github.com/xenia-canary/xenia-canary/issues/123 a bug where files would not write to the host if they were deleted from the host filesystem during runtime.
This commit is contained in:
Adrian
2023-02-04 17:18:24 +00:00
committed by Radosław Gliński
parent 333d7c2767
commit 321dd75e05
3 changed files with 21 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ class HostPathEntry : public Entry {
const std::filesystem::path& full_path,
xe::filesystem::FileInfo file_info);
const std::filesystem::path& host_path() { return host_path_; }
const std::filesystem::path& host_path() const { return host_path_; }
X_STATUS Open(uint32_t desired_access, File** out_file) override;