Fixed the VRAM size on the Reply MCA Cirrus Logic card.

This commit is contained in:
OBattler
2023-04-16 23:44:45 +02:00
parent ff7c0ad45f
commit 018c9ca39b

View File

@@ -3945,7 +3945,10 @@ static void
}
if (info->flags & DEVICE_MCA) {
vram = 1024;
if (id == CIRRUS_ID_CLGD5428)
vram = 1024;
else
vram = device_get_config_int("memory");
gd54xx->vram_size = vram << 10;
} else {
if (id <= CIRRUS_ID_CLGD5428) {