mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(BlackBerry) Add support for BlackBerry Q10 as it needs to be portrait
This commit is contained in:
parent
26d8df1591
commit
d7a9bc5dd4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user