diff options
| author | Subv <subv2112@gmail.com> | 2014-12-31 19:36:50 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2015-01-02 21:13:53 -0500 |
| commit | 13efbdc2014177b84cae82e522b191e2f2f022df (patch) | |
| tree | 836870810adfc1e5a5ae574c59cb446ce7ae1880 /src/core/file_sys/archive_romfs.h | |
| parent | 3d9bf134399665124b3d3c65d7357c177bf2097e (diff) | |
SaveDataCheck: Preliminary work in this archive.
This allows Steel Diver to boot further, some files are needed.
This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives)
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
| -rw-r--r-- | src/core/file_sys/archive_romfs.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h index d4b1eb7f2..b657dd38b 100644 --- a/src/core/file_sys/archive_romfs.h +++ b/src/core/file_sys/archive_romfs.h @@ -20,6 +20,7 @@ namespace FileSys { class Archive_RomFS final : public ArchiveBackend { public: Archive_RomFS(const Loader::AppLoader& app_loader); + Archive_RomFS(std::string mount_point); std::string GetName() const override { return "RomFS"; } @@ -83,15 +84,13 @@ public: */ std::unique_ptr<DirectoryBackend> OpenDirectory(const Path& path) const override; - ResultCode Open(const Path& path) override { - return RESULT_SUCCESS; - } + ResultCode Open(const Path& path) override; ResultCode Format(const Path& path) const override; private: friend class File_RomFS; - + std::string mount_point; std::vector<u8> raw_data; }; |
