DeveloperPython reference
emulators
Emulator launchers and the registry the broker picks them from.
Emulator launchers and the registry the broker picks them from.
Every launcher subclasses Emulator from base and is keyed by its name in
REGISTRY; get_emulator is how the rest of the broker turns a name from the
activate payload into a fresh instance.
attributeREGISTRYdict[str, type[Emulator]]= {'pcsx2': Pcsx2, 'duckstation': Duckstation, 'dolphin': Dolphin, 'flycast': Flycast, 'cemu': Cemu, 'azahar': Azahar, 'eden': Eden, 'shadps4': Shadps4, 'retroarch': Retroarch, 'rpcs3': Rpcs3, 'xemu': Xemu, 'xenia': Xenia, 'ppsspp': Ppsspp, 'desktop': Desktop}Emulator name to launcher class, the names the activate payload may ask for.
funcget_emulator(name) -> Optional[Emulator]Instantiate the launcher registered under name.
paramnamestrAn emulator name as it appears in REGISTRY.
Returns
typing.OptionalA new launcher instance, or None when the name is not registered.