From ff19ff671df7f37b41ca0d90ac276819446ce4d6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 6 Apr 2013 23:13:35 +0200 Subject: [PATCH] (Xbox 1) Panel should always be loaded regardless of low RAM mode --- frontend/menu/rmenu.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/menu/rmenu.c b/frontend/menu/rmenu.c index 4aa67ef35a..de04f13569 100644 --- a/frontend/menu/rmenu.c +++ b/frontend/menu/rmenu.c @@ -274,6 +274,12 @@ static void texture_image_border_load(const char *path) static void rmenu_gfx_init(void) { + texture_image_load("D:\\Media\\menuMainRomSelectPanel.png", &g_extern.console.menu_panel); + + //Center the text + xpos = d3d->win_width == 640 ? 65 : 400; + ypos = d3d->win_width == 640 ? 430 : 670; + if (g_extern.lifecycle_mode_state & (1ULL << MODE_MENU_LOW_RAM_MODE_ENABLE)) return; @@ -284,12 +290,7 @@ static void rmenu_gfx_init(void) sizeof(g_extern.console.menu_texture_path)); texture_image_load(g_extern.console.menu_texture_path, &g_extern.console.menu_texture); - texture_image_load("D:\\Media\\menuMainRomSelectPanel.png", &g_extern.console.menu_panel); - //Display some text - //Center the text (hardcoded) - xpos = d3d->win_width == 640 ? 65 : 400; - ypos = d3d->win_width == 640 ? 430 : 670; #else texture_image_border_load(g_extern.console.menu_texture_path); #endif