Fixed crash in Allegro GUI when selecting a model with an internal IDE controller. Patch from AmatCoder.

This commit is contained in:
SarahW 2017-04-19 14:14:50 +01:00
commit 6f5168e98b

View file

@ -342,7 +342,7 @@ static void update_hdd_list(int model, int use_selected_hdd)
if (models[model].flags & MODEL_HAS_IDE)
{
strcpy(hdd_list[0].name, "Internal IDE");
strcpy(hdd_list[0].internal_name, "internal_ide");
hdd_list[0].internal_name = "internal_ide";
}
else
{