(RMenu) Bake in rgui_list for PS3/Xbox 1/360 too

This commit is contained in:
twinaphex 2013-09-27 16:51:35 +02:00
parent 8e5a0b4a38
commit 7056edf143
2 changed files with 3 additions and 9 deletions

View File

@ -128,7 +128,6 @@ void shader_manager_get_str(struct gfx_shader *shader,
#endif
#ifdef HAVE_FILEBROWSER
static bool directory_parse(void *data, const char *path)
{
filebrowser_t *filebrowser = (filebrowser_t*)data;
@ -298,8 +297,7 @@ void filebrowser_update(void *data, uint64_t action_ori, const char *extensions)
if (!ret)
msg_queue_push(g_extern.msg_queue, "ERROR - Failed to open directory.", 1, 180);
}
#else
#endif
struct rgui_file
{
@ -369,8 +367,6 @@ void rgui_list_get_last(const rgui_list_t *list,
rgui_list_get_at_offset(list, list->size - 1, path, file_type);
}
#endif
void menu_rom_history_push(const char *path,
const char *core_path,
const char *core_name)

View File

@ -37,9 +37,8 @@ extern "C" {
#ifdef HAVE_FILEBROWSER
#include "utils/file_browser.h"
#else
#include "utils/file_list.h"
#endif
#include "utils/file_list.h"
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
#define HAVE_SHADER_MANAGER
@ -201,10 +200,9 @@ typedef struct
#ifdef HAVE_FILEBROWSER
filebrowser_t *browser;
unsigned menu_type;
#else
#endif
rgui_list_t *menu_stack;
rgui_list_t *selection_buf;
#endif
size_t selection_ptr;
bool need_refresh;
bool msg_force;