mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
Revert "Reduce character arrays passed to fill_pathname_base"
This reverts commit a4a7c3bedfffb7038a770351e341262f1ee170c8.
This commit is contained in:
parent
823c54a39d
commit
f06b9ecf06
@ -1136,7 +1136,7 @@ void command_event_set_savestate_auto_index(settings_t *settings)
|
||||
{
|
||||
size_t i;
|
||||
char state_dir[PATH_MAX_LENGTH];
|
||||
char state_base[NAME_MAX_LENGTH];
|
||||
char state_base[PATH_MAX_LENGTH];
|
||||
|
||||
struct string_list *dir_list = NULL;
|
||||
unsigned max_idx = 0;
|
||||
@ -1204,7 +1204,7 @@ void command_event_set_savestate_garbage_collect(
|
||||
{
|
||||
size_t i, cnt = 0;
|
||||
char state_dir[PATH_MAX_LENGTH];
|
||||
char state_base[NAME_MAX_LENGTH];
|
||||
char state_base[PATH_MAX_LENGTH];
|
||||
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
||||
|
||||
struct string_list *dir_list = NULL;
|
||||
|
@ -60,8 +60,8 @@ static void find_first_libretro_core(char *first_file,
|
||||
|
||||
for (i = 0; i < list->size && !ret; i++)
|
||||
{
|
||||
char fname[NAME_MAX_LENGTH] = {0};
|
||||
char salamander_name[NAME_MAX_LENGTH] = {0};
|
||||
char fname[PATH_MAX_LENGTH] = {0};
|
||||
char salamander_name[PATH_MAX_LENGTH] = {0};
|
||||
const char *libretro_elem = (const char*)list->elems[i].data;
|
||||
|
||||
RARCH_LOG("Checking library: \"%s\".\n", libretro_elem);
|
||||
|
Loading…
x
Reference in New Issue
Block a user