mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-17 15:17:52 -06:00
fix: read a card's games under --platform
The full screen passes --platform=retroarch for a muOS card. Detection never runs in that child, so games_setups fell back to RetroArch's own setup and the run said no games folder was found beside MUOS/bios. The card's own files now name its system, as card_app reads them.
This commit is contained in:
1 parent
ae5b6219bb
commit
6692cf908c
5 files changed
+48
-12
No files matched your search
@@ -9943,6 +9943,13 @@ def games_setups(index: dict, plat: str, bios_path: Path, os_type: str = "") ->
|
||||
if not named:
|
||||
above = card_root_above(bios_path)
|
||||
named = above[0] if above else ""
|
||||
if not named:
|
||||
# --platform names the list, not the card: the full screen passes
|
||||
# --platform=retroarch for a muOS card, detection never runs in that
|
||||
# run, and the card's ROMS/ was never read. The card's own files
|
||||
# name its system, as card_app reads them for the app.
|
||||
card = card_app(bios_path)
|
||||
named = card.system if card else ""
|
||||
if not named:
|
||||
# --dest on a handheld's games part from a computer (ArkOS's
|
||||
# EASYROMS/bios): detection never ran there, and the card's own rom
|
||||
|
||||
Reference in new issue
Block a user