From 2b6a6aeb04ae9b361999e46cf98c62e103e9cf7f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 21 Aug 2015 04:42:38 +0200 Subject: [PATCH] (UI CocoaTouch) Cleanups --- ui/drivers/ui_cocoatouch.m | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/drivers/ui_cocoatouch.m b/ui/drivers/ui_cocoatouch.m index dfe4c2a793..07ca4687f5 100644 --- a/ui/drivers/ui_cocoatouch.m +++ b/ui/drivers/ui_cocoatouch.m @@ -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)