mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 01:38:12 +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