diff --git a/Delta/Emulation/GameViewController.swift b/Delta/Emulation/GameViewController.swift index 828b8b2..6a12672 100644 --- a/Delta/Emulation/GameViewController.swift +++ b/Delta/Emulation/GameViewController.swift @@ -412,8 +412,11 @@ private extension GameViewController if let emulatorCore = self.emulatorCore, let game = self.game { - let controllers = [self.controllerView as GameController] + ExternalGameControllerManager.shared.connectedControllers - + // Roundabout way of combining arrays to prevent rare runtime crash in + operator :( + var controllers = [GameController]() + controllers.append(self.controllerView) + controllers.append(contentsOf: ExternalGameControllerManager.shared.connectedControllers) + for gameController in controllers { if gameController.playerIndex != nil