mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +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
|
||||
{
|
||||
// Get enabled orientations
|
||||
/* Get enabled orientations */
|
||||
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;
|
||||
else if (strcmp(apple_frontend_settings.orientations, "portrait") == 0)
|
||||
else if (!strcmp(apple_frontend_settings.orientations, "portrait"))
|
||||
apple_frontend_settings.orientation_flags = UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
|
||||
|
||||
// Set bluetooth mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user