From d7a9bc5dd4f627c8ec34e25ec67caa3227fe9d45 Mon Sep 17 00:00:00 2001 From: CatalystG Date: Sun, 5 May 2013 16:07:18 -0400 Subject: [PATCH] (BlackBerry) Add support for BlackBerry Q10 as it needs to be portrait --- blackberry-qnx/bb10/src/RetroArch-Cascades.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blackberry-qnx/bb10/src/RetroArch-Cascades.cpp b/blackberry-qnx/bb10/src/RetroArch-Cascades.cpp index 86f612013c..0acb15b0e1 100644 --- a/blackberry-qnx/bb10/src/RetroArch-Cascades.cpp +++ b/blackberry-qnx/bb10/src/RetroArch-Cascades.cpp @@ -235,7 +235,8 @@ void RetroArch::startEmulator() { state = RETROARCH_START_REQUESTED; - if (OrientationSupport::instance()->orientation() == UIOrientation::Portrait) + if (OrientationSupport::instance()->orientation() == UIOrientation::Portrait && + OrientationSupport::instance()->supportedDisplayOrientation() != SupportedDisplayOrientation::DeviceNorth) { OrientationSupport::instance()->setSupportedDisplayOrientation(SupportedDisplayOrientation::DisplayLandscape); }