(BlackBerry) Add support for BlackBerry Q10 as it needs to be portrait

This commit is contained in:
CatalystG 2013-05-05 16:07:18 -04:00
parent 26d8df1591
commit d7a9bc5dd4

View File

@ -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);
}