mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 22:32:23 +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++)
|
||||
{
|
||||
const char *path;
|
||||
char core_path[PATH_MAX], display_name[256];
|
||||
unsigned type = 0;
|
||||
|
||||
path = NULL;
|
||||
file_list_get_at_offset(list, i, &path, &type);
|
||||
if (type != RGUI_FILE_PLAIN)
|
||||
continue;
|
||||
|
||||
char core_path[PATH_MAX];
|
||||
fill_pathname_join(core_path, dir, path, sizeof(core_path));
|
||||
|
||||
char display_name[256];
|
||||
if (driver.menu->core_info &&
|
||||
core_info_list_get_display_name(driver.menu->core_info,
|
||||
core_path, display_name, sizeof(display_name)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user