diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-15 09:41:02 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-16 04:08:44 +0100 |
commit | 83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db (patch) | |
tree | 0e8b9aebaaebd6651e27b444964e95ef4c14d699 /src/core/file_sys/file_romfs.h | |
parent | Service.FS: Rename FileSys::File to FileBackend (diff) | |
download | yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.gz yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.bz2 yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.lz yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.xz yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.zst yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/file_romfs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/file_sys/file_romfs.h b/src/core/file_sys/file_romfs.h index 4ddaafe21..09fa2e7e3 100644 --- a/src/core/file_sys/file_romfs.h +++ b/src/core/file_sys/file_romfs.h @@ -14,10 +14,11 @@ namespace FileSys { +class Archive_RomFS; + class File_RomFS final : public FileBackend { public: - File_RomFS(); - ~File_RomFS() override; + File_RomFS(const Archive_RomFS* archive) : archive(archive) {} /** * Open the file @@ -62,6 +63,9 @@ public: * @return true if the file closed correctly */ bool Close() const override; + +private: + const Archive_RomFS* archive; }; } // namespace FileSys |