mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-11 05:53:23 -05:00
feat: add misterfpga platform support
This commit is contained in:
1 parent
d88e87dc34
commit
8663ec17b7
29 files changed
+1631
-281
No files matched your search
@@ -48,6 +48,7 @@ DEFAULT_DESTS = {
|
||||
"retrodeck": Path.home() / "retrodeck",
|
||||
"emudeck": Path.home() / "Emulation" / "bios",
|
||||
"rocknix": Path("/storage/roms/bios"),
|
||||
"misterfpga": Path("/media/fat/games"),
|
||||
}
|
||||
|
||||
|
||||
@@ -202,6 +203,13 @@ def _detect_embedded() -> list[tuple[str, Path]]:
|
||||
found.append(("rocknix", Path("/storage/roms/bios")))
|
||||
return found
|
||||
|
||||
# MiSTer keeps the SD card at /media/fat with the main binary at its root
|
||||
# (Main_MiSTer file_io.cpp:1150-1156), and cores read from games/
|
||||
# (file_io.h:168)
|
||||
if Path("/media/fat/MiSTer").exists():
|
||||
found.append(("misterfpga", Path("/media/fat/games")))
|
||||
return found
|
||||
|
||||
if Path("/etc/knulli-release").exists():
|
||||
found.append(("batocera", Path("/userdata/bios")))
|
||||
return found
|
||||
|
||||
Reference in new issue
Block a user