feat: offer the games of a handheld's card

An ArkOS EASYROMS card plugged into a computer was never offered "for
the games on this card": its console folders sit beside bios, with no
roms folder above. A games part now counts as a card that may hold
games.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 21:01:23 +01:00
1 parent 65a5dfecc7
commit 68c8dca41d
4 files changed
+11 -4

No files matched your search

+3
View File
@@ -12923,6 +12923,9 @@ class DriveIsACardByItsFiles(unittest.TestCase):
self.assertEqual(install.games_setups(index, "retroarch", arkos / "bios"), ["arkos"])
self.assertEqual(install.games_setups(index, "retroarch", self.root / "bios"),
["retroarch"])
# Its games are offered without --for-games: EASYROMS keeps no
# roms folder, its console folders sit beside bios.
self.assertTrue(install._may_hold_games(arkos / "bios"))
def test_a_card_beside_a_data_drive_comes_first(self):
"""The ArkOS card and the data drive mounted,