(platform_apple.c) Cleanups

This commit is contained in:
Twinaphex 2015-03-13 02:33:32 +01:00
parent 650c81480d
commit 55e187748c

View File

@ -97,8 +97,15 @@ extern void apple_rarch_exited(void);
static void frontend_apple_load_content(void)
{
if (!driver.menu_ctx)
return;
if (!driver.menu)
return;
if (!driver.menu->userdata)
return;
#ifdef IOS
if ( driver.menu_ctx && driver.menu_ctx == &menu_ctx_ios && driver.menu && driver.menu->userdata )
if (driver.menu_ctx == &menu_ctx_ios)
{
ios_handle_t *ih = (ios_handle_t*)driver.menu->userdata;
if (ih)