Handle the internal name change for the S3 ViRGE/GX (formerly ViRGE/DX VBE 2.0)

This commit is contained in:
Alexander Babikov 2021-12-29 09:48:56 +05:00
parent c7824e8ddc
commit c8f9b8cbd3

View File

@ -889,7 +889,10 @@ load_video(void)
}
free_p = 1;
}
gfxcard = video_get_video_from_internal_name(p);
if (!strcmp(p, "virge375_vbe20_pci")) /* migrate renamed cards */
gfxcard = video_get_video_from_internal_name("virge385_pci");
else
gfxcard = video_get_video_from_internal_name(p);
if (free_p)
free(p);
}