mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(GX) Fix warning
This commit is contained in:
parent
acd78dfc51
commit
98467a744e
@ -1774,15 +1774,16 @@ static void menu_parse_and_resolve(unsigned menu_type)
|
|||||||
for (i = 0; i < list_size; i++)
|
for (i = 0; i < list_size; i++)
|
||||||
{
|
{
|
||||||
const char *path;
|
const char *path;
|
||||||
|
char core_path[PATH_MAX], display_name[256];
|
||||||
unsigned type = 0;
|
unsigned type = 0;
|
||||||
|
|
||||||
|
path = NULL;
|
||||||
file_list_get_at_offset(list, i, &path, &type);
|
file_list_get_at_offset(list, i, &path, &type);
|
||||||
if (type != RGUI_FILE_PLAIN)
|
if (type != RGUI_FILE_PLAIN)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
char core_path[PATH_MAX];
|
|
||||||
fill_pathname_join(core_path, dir, path, sizeof(core_path));
|
fill_pathname_join(core_path, dir, path, sizeof(core_path));
|
||||||
|
|
||||||
char display_name[256];
|
|
||||||
if (driver.menu->core_info &&
|
if (driver.menu->core_info &&
|
||||||
core_info_list_get_display_name(driver.menu->core_info,
|
core_info_list_get_display_name(driver.menu->core_info,
|
||||||
core_path, display_name, sizeof(display_name)))
|
core_path, display_name, sizeof(display_name)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user