From 021ae746128c2a4c45f031c0e543b15a3d6dd65f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 24 Nov 2015 18:13:54 +0100 Subject: [PATCH] Remove dead code - rarch_main_data_iterate --- runloop_data.c | 9 --------- ui/drivers/cocoa/cocoatouch_menu.m | 7 +------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/runloop_data.c b/runloop_data.c index a04280d3c2..71158ac15f 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -14,10 +14,6 @@ */ #include -#ifdef HAVE_THREADS -#include -#endif -#include #include "general.h" #include "verbosity.h" @@ -35,11 +31,6 @@ void rarch_main_data_deinit(void) rarch_task_deinit(); } -bool rarch_main_data_active(void) -{ - return false; -} - #ifdef HAVE_MENU static void rarch_main_data_menu_iterate(void) { diff --git a/ui/drivers/cocoa/cocoatouch_menu.m b/ui/drivers/cocoa/cocoatouch_menu.m index 323ba02bb6..456cf09e5c 100644 --- a/ui/drivers/cocoa/cocoatouch_menu.m +++ b/ui/drivers/cocoa/cocoatouch_menu.m @@ -747,12 +747,7 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath { unsigned j; menu_entry_select(i); - - if (!rarch_main_data_active()) - return; - - for (j = 0; j < 32; j++) - rarch_main_data_iterate(); + rarch_main_data_iterate(); } - (void)menuBack