From 98b1ecab58796587e9a5c3f1385136debb332b68 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 28 Jun 2012 21:19:23 +0200 Subject: [PATCH] (PS3) Fix: don't render filebrowser in ingame menu --- ps3/frontend/menu.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ps3/frontend/menu.c b/ps3/frontend/menu.c index 849efa85db..3c2193b6e3 100644 --- a/ps3/frontend/menu.c +++ b/ps3/frontend/menu.c @@ -173,14 +173,18 @@ static void menu_stack_push(unsigned stack_idx, unsigned menu_id) { switch(menu_id) { - case FILE_BROWSER_MENU: case INGAME_MENU: + case INGAME_MENU_RESIZE: + case INGAME_MENU_SCREENSHOT: + menuStack[stack_idx] = menu_filebrowser; + menuStack[stack_idx].enum_id = menu_id; + menuStack[stack_idx].category_id = CATEGORY_INGAME_MENU; + break; + case FILE_BROWSER_MENU: case LIBRETRO_CHOICE: case PATH_DEFAULT_ROM_DIR_CHOICE: case PATH_SAVESTATES_DIR_CHOICE: case PRESET_CHOICE: - case INGAME_MENU_RESIZE: - case INGAME_MENU_SCREENSHOT: case INPUT_PRESET_CHOICE: case SHADER_CHOICE: case PATH_SRAM_DIR_CHOICE: @@ -2381,8 +2385,8 @@ void menu_loop(void) browser_render(fb); break; case CATEGORY_SETTINGS: - break; case CATEGORY_INGAME_MENU: + default: break; }