mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-19 01:43:25 -05:00
fix: keep a held file in emulator region packs
Emulator mode reduced region groups without knowing which files the collection holds, so a requested-region image nobody had collected withdrew the held one and left the slot empty. Platform mode already kept it; both emulator readers now pass the database.
This commit is contained in:
1 parent
a40a68c1f7
commit
2dcb49fa4c
4 files changed
+47
-3
No files matched your search
@@ -1351,7 +1351,7 @@ def generate_emulator_pack(
|
||||
os.makedirs(output_dir, exist_ok=True)
|
||||
|
||||
region_drops: set[str] = (
|
||||
emulator_region_drops(selected, standalone, regions, required_only)
|
||||
emulator_region_drops(selected, standalone, regions, required_only, db)
|
||||
if regions
|
||||
else set()
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user