mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-30 14:21:11 +00:00
fix: system.dat rom quoting, native_ids, acronym display names
This commit is contained in:
parent
e2d0510f4e
commit
c4f3192020
3 changed files with 68 additions and 15 deletions
|
|
@ -85,7 +85,10 @@ class Exporter(BaseExporter):
|
|||
if name.startswith("_") or self._is_pattern(name):
|
||||
continue
|
||||
|
||||
rom_parts = [f"name {name}"]
|
||||
# Quote names with spaces or special chars (matching original format)
|
||||
needs_quote = " " in name or "(" in name or ")" in name
|
||||
name_str = f'"{name}"' if needs_quote else name
|
||||
rom_parts = [f"name {name_str}"]
|
||||
size = fe.get("size")
|
||||
if size:
|
||||
rom_parts.append(f"size {size}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue