mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 01:53:56 -06:00
feat: place save-dir files in packs and lists
load_from: save_dir entries of a libretro build were left out of every pack. They now go below the platform's save folder (registry save_directory: RetroArch saves/, Lakka savefiles/, by core), the manifest marks them root: save, and verify replays the same placement. Platforms keeping saves per system or per game list them as omitted.
This commit is contained in:
1 parent
8f84fee2af
commit
1cd6c9ee4d
15 files changed
+584
-66
No files matched your search
@@ -330,8 +330,13 @@ class CandidateVerdict(unittest.TestCase):
|
||||
)
|
||||
|
||||
def test_a_file_read_from_elsewhere_is_not_a_bios_gap(self):
|
||||
for where in ("content_dir", "working_directory", "internal_storage"):
|
||||
self.assertEqual(
|
||||
self.verdict({"name": "save.bin", "load_from": where}), "skip"
|
||||
)
|
||||
# Below the save directory: the pack places it there.
|
||||
self.assertEqual(
|
||||
self.verdict({"name": "save.bin", "load_from": "save_dir"}), "skip"
|
||||
self.verdict({"name": "save.bin", "load_from": "save_dir"}), "keep"
|
||||
)
|
||||
self.assertEqual(
|
||||
self.verdict({"name": "b.bin", "load_from": "system_dir"}), "keep"
|
||||
|
||||
Reference in new issue
Block a user