From b7c8ea67d847d20cc6ec74455875d1f4c0483b56 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 4 Oct 2015 21:57:16 +0200 Subject: [PATCH] (iOS) Buildfix --- menu/drivers/zarch.c | 6 ++++++ ui/drivers/cocoa/cocoatouch_menu.m | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/menu/drivers/zarch.c b/menu/drivers/zarch.c index 63a30d3b0c..3901e22a08 100644 --- a/menu/drivers/zarch.c +++ b/menu/drivers/zarch.c @@ -903,6 +903,10 @@ static void zarch_render(void) if (!menu || !menu->userdata) return; + + (void)settings; + (void)bottom; + (void)zarch; video_driver_get_size(&width, &height); @@ -926,6 +930,8 @@ static void zarch_frame(void) if (!gl) return; + + (void)driver; zui = (zui_t*)menu->userdata; zui->set = config_get_ptr(); diff --git a/ui/drivers/cocoa/cocoatouch_menu.m b/ui/drivers/cocoa/cocoatouch_menu.m index ac3f14238c..3f36754603 100644 --- a/ui/drivers/cocoa/cocoatouch_menu.m +++ b/ui/drivers/cocoa/cocoatouch_menu.m @@ -26,6 +26,7 @@ #include "../../../input/drivers/cocoa_input.h" #include "../../../menu/menu_entry.h" +#include "../../../menu/drivers/menu_generic.h" #include "../../../runloop_data.h" // Menu Support @@ -612,7 +613,7 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath switch (buttonIndex) { case 0: - menu_iterate(true, MENU_ACTION_OK); + generic_menu_iterate(true, MENU_ACTION_OK); break; } }