(UI CocoaTouch) Cleanups

This commit is contained in:
twinaphex 2015-08-21 04:42:38 +02:00
parent 4f755d3bec
commit 2b6a6aeb04

View File

@ -57,7 +57,8 @@ static void rarch_disable_ui(void)
rarch_main_set_idle(false);
}
static void rarch_draw(void)
static void rarch_draw_observer(CFRunLoopObserverRef observer,
CFRunLoopActivity activity, void *info)
{
bool iterate = iterate_observer && !(rarch_main_is_paused());
int ret = iterate ? rarch_main_iterate() : 0;
@ -78,12 +79,6 @@ static void rarch_draw(void)
CFRunLoopWakeUp(CFRunLoopGetMain());
}
static void rarch_draw_observer(CFRunLoopObserverRef observer,
CFRunLoopActivity activity, void *info)
{
rarch_draw();
}
apple_frontend_settings_t apple_frontend_settings;
void get_ios_version(int *major, int *minor)