mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(iOS) Small cleanups
This commit is contained in:
parent
522c65e27f
commit
9700abb1ba
@ -378,12 +378,12 @@ void notify_content_loaded(void)
|
|||||||
|
|
||||||
- (void)refreshSystemConfig
|
- (void)refreshSystemConfig
|
||||||
{
|
{
|
||||||
// Get enabled orientations
|
/* Get enabled orientations */
|
||||||
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskAll;
|
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskAll;
|
||||||
|
|
||||||
if (strcmp(apple_frontend_settings.orientations, "landscape") == 0)
|
if (!strcmp(apple_frontend_settings.orientations, "landscape"))
|
||||||
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskLandscape;
|
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskLandscape;
|
||||||
else if (strcmp(apple_frontend_settings.orientations, "portrait") == 0)
|
else if (!strcmp(apple_frontend_settings.orientations, "portrait"))
|
||||||
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
|
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
|
||||||
|
|
||||||
// Set bluetooth mode
|
// Set bluetooth mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user