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)
This commit is contained in:
parent
3d9bf13439
commit
13efbdc201
4 changed files with 63 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue