mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-21 03:09:08 -05:00
fix: open no System.dat section libretro lacks
libretro titles each section with the system as it spells it, "Commodore - Amiga". An addition for a system it has no section for opened one under our slug: 21 sections came out as commodore-c64, quake, laseractive or xrick, which no libretro DAT carries. An addition now lands only in a section the original holds and is otherwise counted as left out, so the export keeps the original's 66 sections. A platform entry is always written, under its own section.
This commit is contained in:
1 parent
a8226dd367
commit
f957b5f893
4 files changed
+61
-6
No files matched your search
+5
-1
@@ -4226,7 +4226,11 @@ class TestE2E(unittest.TestCase):
|
||||
from exporter.baseline import build_native_model
|
||||
|
||||
systems, report = build_native_model(truth, {"systems": {}})
|
||||
produced = SystemDatExporter().render(systems, report, {}, {"systems": {}})
|
||||
original = ('clrmamepro (\n\tname "System"\n)\n\ngame (\n\tname "System"\n'
|
||||
'\tcomment "commodore-plus4"\n)\n')
|
||||
produced = SystemDatExporter().render(
|
||||
systems, report, {"System.dat": original}, {"systems": {}}
|
||||
)
|
||||
self.assertIn("crc 70295038", produced["System.dat"])
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user