(PS3/Rmenu) Build fix

This commit is contained in:
Twinaphex 2012-08-17 21:43:12 +02:00
parent a7fe9aa50a
commit 2790555f1c

View File

@ -2307,16 +2307,18 @@ void menu_init (void)
retro_get_system_info(&info);
const char *id = info.library_name ? info.library_name : "Unknown";
snprintf(m_title, sizeof(m_title), "Libretro core: %s %s", id, info.library_version);
rmenu_filebrowser_init();
}
static void filebrowser_init(void)
static void rmenu_filebrowser_init(void)
{
menu_stack_push(rmenu_items, FILE_BROWSER_MENU);
filebrowser_set_root_and_ext(&browser, rarch_console_get_rom_ext(), default_paths.filebrowser_startup_dir);
filebrowser_set_root(&tmpBrowser, default_paths.filesystem_root_dir);
}
static void filebrowser_free(void)
static void rmenu_filebrowser_free(void)
{
filebrowser_free(&browser);
filebrowser_free(&tmpBrowser);
@ -2324,6 +2326,7 @@ static void filebrowser_free(void)
void menu_free (void)
{
rmenu_filebrowser_free();
}
void menu_loop(void)
@ -2333,7 +2336,6 @@ void menu_loop(void)
g_console.menu_enable = true;
device_ptr->block_swap = true;
filebrowser_init();
if(g_console.ingame_menu_enable)
menu_stack_push(ingame_menu_settings, INGAME_MENU);
@ -2616,7 +2618,6 @@ void menu_loop(void)
texture_image_free(&m_menuMainRomSelectPanel);
#endif
filebrowser_free();
if(g_console.ingame_menu_enable)
menu_stack_decrement();