(iOS) Add ifdef for menu_ctx_ios

This commit is contained in:
twinaphex 2015-01-05 02:43:44 +01:00
parent 31d816b6d3
commit c518d35f18

View File

@ -184,10 +184,13 @@ extern void apple_rarch_exited(void);
static void frontend_apple_load_content(void)
{
if ( driver.menu_ctx && driver.menu_ctx == &menu_ctx_ios && driver.menu && driver.menu->userdata ) {
ios_handle_t *ih = (ios_handle_t*)driver.menu->userdata;
ih->notify_content_loaded();
#ifdef IOS
if ( driver.menu_ctx && driver.menu_ctx == &menu_ctx_ios && driver.menu && driver.menu->userdata )
{
ios_handle_t *ih = (ios_handle_t*)driver.menu->userdata;
ih->notify_content_loaded();
}
#endif
}
static void frontend_apple_shutdown(bool unused)