diff --git a/Delta/Emulation/GameViewController.swift b/Delta/Emulation/GameViewController.swift index a4d2fc9..e5d65bd 100644 --- a/Delta/Emulation/GameViewController.swift +++ b/Delta/Emulation/GameViewController.swift @@ -665,10 +665,13 @@ private extension GameViewController var touchControllerSkin = TouchControllerSkin(controllerSkin: controllerSkin) touchControllerSkin.layoutGuide = self.view.safeAreaLayoutGuide - switch traits.orientation + if self.view.bounds.width > self.view.bounds.height { - case .portrait: touchControllerSkin.screenLayoutAxis = .vertical - case .landscape: touchControllerSkin.screenLayoutAxis = .horizontal + touchControllerSkin.screenLayoutAxis = .horizontal + } + else + { + touchControllerSkin.screenLayoutAxis = .vertical } self.controllerView.controllerSkin = touchControllerSkin