From b06da6e25988fc7d5238aeef1f8cc2510cd981f9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 3 Aug 2012 18:10:00 +0200 Subject: [PATCH] (Xbox 1) Build fix --- gfx/context/xdk_ctx.c | 5 +++++ xbox1/frontend/menu.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gfx/context/xdk_ctx.c b/gfx/context/xdk_ctx.c index 55fc4e768a..ff65ba06a0 100644 --- a/gfx/context/xdk_ctx.c +++ b/gfx/context/xdk_ctx.c @@ -32,6 +32,11 @@ #define XBOX_PRESENTATIONINTERVAL D3DRS_PRESENTINTERVAL #endif +void gfx_ctx_set_blend(bool enable) +{ + (void)enable; +} + void gfx_ctx_set_swap_interval(unsigned interval, bool inited) { (void)inited; diff --git a/xbox1/frontend/menu.c b/xbox1/frontend/menu.c index 2ef04e7ded..6b24ff8831 100644 --- a/xbox1/frontend/menu.c +++ b/xbox1/frontend/menu.c @@ -683,7 +683,7 @@ static void browser_render(filebrowser_t *b, float current_x, float current_y, f #endif } -static void menu_romselect_iterate(filebrowser_t *filebrowser, menu_romselect_action_t action) +static void menu_romselect_iterate(filebrowser_t *filebrowser, item *items, menu_romselect_action_t action) { bool ret = true; @@ -723,7 +723,7 @@ static void select_rom(item *items, menu *current_menu, uint64_t input) } if (action != MENU_ROMSELECT_ACTION_NOOP) - menu_romselect_iterate(&browser, action); + menu_romselect_iterate(&browser, items, action); display_menubar(current_menu);