mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
feat: name the ROM folder option of QUASI88kai
-romdir replaces the ROM directory (src/getconf.cpp:282-290, 529), and RetroPie writes -romdir $biosdir/pc88 into quasi88.ini (scriptmodules/emulators/quasi88.sh:67). Its 19 ROMs move from rom/ to pc88/ in the RetroPie pack, manifest and verify.
This commit is contained in:
1 parent
ddc947c85d
commit
adac87ec32
2 files changed
+18
No files matched your search
@@ -16,6 +16,8 @@ built_by: [retropie]
|
||||
systems:
|
||||
- nec-pc-88
|
||||
- nec-pc-80
|
||||
standalone_directories:
|
||||
- "-romdir = rom"
|
||||
|
||||
notes: |
|
||||
Continuation of Showzoh Fukunaga's QUASI88, version 0.7.1 at the pinned
|
||||
|
||||
@@ -705,5 +705,21 @@ class AetherSX2OnKnulli(unittest.TestCase):
|
||||
self.assertEqual(entry.get("unplaced"), "outside_bios_folder", path)
|
||||
|
||||
|
||||
class Quasi88OnRetroPie(unittest.TestCase):
|
||||
"""RetroPie writes -romdir $biosdir/pc88 into quasi88.ini (quasi88.sh:67)."""
|
||||
|
||||
def test_the_roms_land_in_pc88(self) -> None:
|
||||
profile = load_emulator_profiles(str(REPO_ROOT / "emulators"))["quasi88kai"]
|
||||
config = load_platform_config("retropie", str(REPO_ROOT / "platforms"))
|
||||
(view, standalone), = platform_layouts("quasi88kai", profile, standalone_set(config))
|
||||
self.assertTrue(standalone)
|
||||
paths = [e["path"] for e in view["files"]]
|
||||
self.assertTrue(paths and all(p.startswith("rom/") for p in paths))
|
||||
self.assertEqual(
|
||||
[e["standalone_path"] for e in view["files"]],
|
||||
["pc88/" + p.removeprefix("rom/") for p in paths],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user