diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index b6cb009975..24e3701342 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -489,7 +489,6 @@ const ui_companion_driver_t ui_companion_cocoa = { ui_companion_cocoa_init, ui_companion_cocoa_deinit, ui_companion_cocoa_iterate, - NULL, ui_companion_cocoa_toggle, ui_companion_cocoa_event_command, ui_companion_cocoa_notify_content_loaded, diff --git a/ui/drivers/ui_cocoatouch.m b/ui/drivers/ui_cocoatouch.m index fe4e3b22a0..dfe4c2a793 100644 --- a/ui/drivers/ui_cocoatouch.m +++ b/ui/drivers/ui_cocoatouch.m @@ -84,12 +84,6 @@ static void rarch_draw_observer(CFRunLoopObserverRef observer, rarch_draw(); } -static void rarch_draw_timer(CFRunLoopTimerRef timer, void *info) -{ - rarch_draw(); -} - - apple_frontend_settings_t apple_frontend_settings; void get_ios_version(int *major, int *minor) @@ -478,13 +472,6 @@ static int ui_companion_cocoatouch_iterate(void *data, unsigned action) return 0; } -static int ui_companion_cocoatouch_iterate_menu(void *data, unsigned action) -{ - menu_iterate(false, MENU_ACTION_NOOP); - rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED); - return 0; -} - static void ui_companion_cocoatouch_deinit(void *data) { ui_companion_cocoatouch_t *handle = (ui_companion_cocoatouch_t*)data; @@ -543,7 +530,6 @@ const ui_companion_driver_t ui_companion_cocoatouch = { ui_companion_cocoatouch_init, ui_companion_cocoatouch_deinit, ui_companion_cocoatouch_iterate, - ui_companion_cocoatouch_iterate_menu, ui_companion_cocoatouch_toggle, ui_companion_cocoatouch_event_command, ui_companion_cocoatouch_notify_content_loaded, diff --git a/ui/drivers/ui_null.c b/ui/drivers/ui_null.c index b43677bcac..10dacbae44 100644 --- a/ui/drivers/ui_null.c +++ b/ui/drivers/ui_null.c @@ -81,7 +81,6 @@ const ui_companion_driver_t ui_companion_null = { ui_companion_null_init, ui_companion_null_deinit, ui_companion_null_iterate, - NULL, ui_companion_null_toggle, ui_companion_null_event_command, ui_companion_null_notify_content_loaded, diff --git a/ui/drivers/ui_qt.c b/ui/drivers/ui_qt.c index acefd4e660..da468f0bba 100644 --- a/ui/drivers/ui_qt.c +++ b/ui/drivers/ui_qt.c @@ -126,7 +126,6 @@ const ui_companion_driver_t ui_companion_qt = { ui_companion_qt_init, ui_companion_qt_deinit, ui_companion_qt_iterate, - NULL, ui_companion_qt_toggle, ui_companion_qt_event_command, ui_companion_qt_notify_content_loaded, diff --git a/ui/ui_companion_driver.h b/ui/ui_companion_driver.h index 15b8f5af9c..0db75aa573 100644 --- a/ui/ui_companion_driver.h +++ b/ui/ui_companion_driver.h @@ -37,7 +37,6 @@ typedef struct ui_companion_driver void *(*init)(void); void (*deinit)(void *data); int (*iterate)(void *data, unsigned action); - int (*iterate_menu)(void *data, unsigned action); void (*toggle)(void *data); void (*event_command)(void *data, enum event_command action); void (*notify_content_loaded)(void *data);