mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
(platform_apple.c) Cleanups
This commit is contained in:
parent
650c81480d
commit
55e187748c
@ -97,8 +97,15 @@ extern void apple_rarch_exited(void);
|
|||||||
|
|
||||||
static void frontend_apple_load_content(void)
|
static void frontend_apple_load_content(void)
|
||||||
{
|
{
|
||||||
|
if (!driver.menu_ctx)
|
||||||
|
return;
|
||||||
|
if (!driver.menu)
|
||||||
|
return;
|
||||||
|
if (!driver.menu->userdata)
|
||||||
|
return;
|
||||||
|
|
||||||
#ifdef IOS
|
#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;
|
ios_handle_t *ih = (ios_handle_t*)driver.menu->userdata;
|
||||||
if (ih)
|
if (ih)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user