mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 04:39:42 -05:00
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:
@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user