(gfx_widget_load_content_animation) icon_file can be reduced to NAME_MAX_LENGTH size

This commit is contained in:
libretroadmin 2024-12-25 21:34:02 +01:00
parent bd461a5f8e
commit 9c71620c53

View File

@ -99,7 +99,7 @@ struct gfx_widget_load_content_animation_state
char content_name[512];
char system_name[512];
char icon_directory[DIR_MAX_LENGTH];
char icon_file[PATH_MAX_LENGTH];
char icon_file[NAME_MAX_LENGTH];
bool has_icon;
};