mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Change size of char arrays to PATH_MAX
This commit is contained in:
parent
d5042760e5
commit
7c3080b312
@ -177,7 +177,7 @@ int menu_entries_push_list(menu_handle_t *menu,
|
|||||||
unsigned menu_type)
|
unsigned menu_type)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
char tmp[256];
|
char tmp[PATH_MAX];
|
||||||
size_t list_size = 0;
|
size_t list_size = 0;
|
||||||
bool do_action = false;
|
bool do_action = false;
|
||||||
|
|
||||||
@ -811,7 +811,7 @@ int menu_parse_and_resolve(file_list_t *list, file_list_t *menu_list)
|
|||||||
|
|
||||||
for (i = 0; i < list_size; i++)
|
for (i = 0; i < list_size; i++)
|
||||||
{
|
{
|
||||||
char core_path[PATH_MAX], display_name[256];
|
char core_path[PATH_MAX], display_name[PATH_MAX];
|
||||||
const char *path = NULL;
|
const char *path = NULL;
|
||||||
unsigned type = 0;
|
unsigned type = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user