mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(UI CocoaTouch) Cleanups
This commit is contained in:
parent
4f755d3bec
commit
2b6a6aeb04
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user