mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 21:43:23 -05:00
fix: name a system pack apart from an emulator one
This commit is contained in:
1 parent
9002a4a4bb
commit
e6905f48e7
2 files changed
+57
-1
No files matched your search
@@ -1654,7 +1654,12 @@ def generate_system_pack(
|
||||
"full", regions, None, False, required_only, standalone=standalone
|
||||
)
|
||||
)
|
||||
new_path = os.path.join(output_dir, f"{sys_display}{tags}_BIOS_Pack.zip")
|
||||
# The selection mode is part of the name: `--system sega-triforce`
|
||||
# and `--emulator triforce` both wrote Triforce_BIOS_Pack.zip, and
|
||||
# the second run replaced the first without a word.
|
||||
new_path = os.path.join(
|
||||
output_dir, f"{sys_display}_System{tags}_BIOS_Pack.zip"
|
||||
)
|
||||
os.replace(result, new_path)
|
||||
return new_path
|
||||
finally:
|
||||
|
||||
Reference in new issue
Block a user