mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 19:38:52 -06:00
chore: keep the main checkout leftovers
This commit is contained in:
1 parent
74b40b2815
commit
e960e86aea
141 files changed
+3456
-2505
No files matched your search
@@ -172,7 +172,10 @@ class ProfileResolver:
|
||||
return None
|
||||
# RetroPie names a libretro package lr-<core> (scriptmodules/libretrocores).
|
||||
bare = core.removeprefix("lr-")
|
||||
spellings = (core, core.lower(), bare, bare.replace("-", "_"), bare.lower().replace("-", "_"))
|
||||
# Either separator in either direction: plumOS names flycast_xtreme
|
||||
# the core flycast2021 lists as flycast-xtreme.
|
||||
spellings = (core, core.lower(), bare, bare.replace("-", "_"), bare.lower().replace("-", "_"),
|
||||
bare.replace("_", "-"), bare.lower().replace("_", "-"))
|
||||
for name in dict.fromkeys(spellings):
|
||||
found = preferred_profile(self.index, name)
|
||||
if found:
|
||||
|
||||
Reference in new issue
Block a user