mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -05:00
fix: fill placeholders in emulator packs
LRPS2 declares only <bios>.bin, so its emulator pack shipped no PS2 BIOS. The images in the folder another PS2 profile proves by hash, of the declared size, now take the placeholder's place in the pack and in verify.
This commit is contained in:
1 parent
11fe7fada2
commit
5ce2b44a57
4 files changed
+194
-8
No files matched your search
@@ -1456,10 +1456,13 @@ def generate_emulator_pack(
|
||||
with _writing_pack(zip_path) as zf:
|
||||
for emu_name, profile in sorted(selected):
|
||||
pack_structure = profile.get("pack_structure")
|
||||
files = expand_directory_entries(
|
||||
filter_files_by_mode(profile.get("files", []), standalone),
|
||||
db,
|
||||
standalone,
|
||||
files = expand_agnostic_entries(
|
||||
expand_directory_entries(
|
||||
filter_files_by_mode(profile.get("files", []), standalone),
|
||||
db,
|
||||
standalone,
|
||||
),
|
||||
emu_name, profile, db, standalone, all_profiles,
|
||||
)
|
||||
if system_ids:
|
||||
files = [
|
||||
@@ -4648,6 +4651,7 @@ from packextras import ( # noqa: E402,F401
|
||||
platform_region_groups,
|
||||
emulator_region_drops,
|
||||
_emulator_region_group,
|
||||
expand_agnostic_entries,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user