mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 06:15:58 +00:00
Drawer: a game from the rail is headed by its emulator (ARMSX2, RPCS3), not "Desktop"
This commit is contained in:
1 parent
9f2c98d28d
commit
1c7130545f
3 files changed
+8
-1
No files matched your search
@@ -76,6 +76,9 @@ object Library {
|
||||
"melonds" to "melonds", "cemu" to "cemu", "ppsspp" to "emulators", "retroarch" to "emulators",
|
||||
)
|
||||
|
||||
/** The emulator's name for a program path from the rail ("ARMSX2"), or null. */
|
||||
fun nameForProgram(program: String?): String? = specs.firstOrNull { it.program == program }?.name
|
||||
|
||||
/** Desktop catalog package that supplies this emulator. */
|
||||
fun packageId(emulatorId: String): String? = installedIds[emulatorId]
|
||||
|
||||
|
||||
Reference in new issue
Block a user