diff --git a/core.h b/core.h index 0543629492..7afbaa0fa3 100644 --- a/core.h +++ b/core.h @@ -51,7 +51,7 @@ typedef struct rarch_system_info unsigned performance_level; const char *input_desc_btn[MAX_USERS][RARCH_FIRST_META_KEY]; - char valid_extensions[PATH_MAX_LENGTH]; + char valid_extensions[255]; struct retro_disk_control_callback disk_control_cb; struct retro_location_callback location_cb; diff --git a/input/input_autodetect.h b/input/input_autodetect.h index a1e086aa5c..542e525219 100644 --- a/input/input_autodetect.h +++ b/input/input_autodetect.h @@ -24,9 +24,9 @@ typedef struct autoconfig_params { - char name[PATH_MAX_LENGTH]; - char driver[PATH_MAX_LENGTH]; - char display_name[PATH_MAX_LENGTH]; + char name[255]; + char driver[255]; + char display_name[255]; unsigned idx; int32_t vid; int32_t pid;