feat(fs): Cross-Compatible Emulator Save Pathing w/ Custom Save Paths

Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
Collecting
2025-12-31 03:59:31 +00:00
parent 1ca62a0302
commit 678d6c095f

View File

@@ -121,6 +121,9 @@ public:
// above is called.
void CreateFactories(FileSys::VfsFilesystem& vfs, bool overwrite = true);
// getter for main.cpp to trigger the sync between custom game paths for separate emulators
FileSys::SaveDataFactory& GetSaveDataFactory() { return *global_save_data_factory; }
void Reset();
private:
@@ -142,6 +145,9 @@ private:
std::unique_ptr<FileSys::RegisteredCache> gamecard_registered;
std::unique_ptr<FileSys::PlaceholderCache> gamecard_placeholder;
// Global factory for startup tasks and mirroring
std::shared_ptr<FileSys::SaveDataFactory> global_save_data_factory;
Core::System& system;
};