vfs_real: lazily open files

This commit is contained in:
Liam
2023-06-11 23:53:23 -04:00
parent f25236a4d6
commit 0e7eaaba5a
2 changed files with 3 additions and 11 deletions

View File

@ -15,8 +15,7 @@ class IOFile;
namespace FileSys {
struct FileReference : public Common::IntrusiveListBaseNode<FileReference> {
FileReference(std::shared_ptr<Common::FS::IOFile>&& f) : file(f) {}
std::shared_ptr<Common::FS::IOFile> file;
std::shared_ptr<Common::FS::IOFile> file{};
};
class RealVfsFile;