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 3bf359cbf9
commit 81bc032b00

View File

@@ -888,7 +888,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);
}