mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-23 01:56:08 -04:00
feat(fs): Cross-Compatible Emulator Save Pathing w/ Custom Save Paths
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user