From 018c9ca39bb40995fa60c9a8c8ca73404d58adfa Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 16 Apr 2023 23:44:45 +0200 Subject: [PATCH] Fixed the VRAM size on the Reply MCA Cirrus Logic card. --- src/video/vid_cl54xx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/video/vid_cl54xx.c b/src/video/vid_cl54xx.c index d402050c7..bc12d988e 100644 --- a/src/video/vid_cl54xx.c +++ b/src/video/vid_cl54xx.c @@ -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) {