From 766bd1cfb9b280b1fd7154aeb19437a0313e86d1 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sun, 29 Jun 2025 00:42:27 +0200 Subject: [PATCH] Fix swapped value of the ramdacs used by the Mach32 PCI. Now it correctly detects what's selected as the ramdac. --- src/video/vid_ati_mach8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/vid_ati_mach8.c b/src/video/vid_ati_mach8.c index d4ec7a4aa..c5cb2ccca 100644 --- a/src/video/vid_ati_mach8.c +++ b/src/video/vid_ati_mach8.c @@ -7141,9 +7141,9 @@ mach8_init(const device_t *info) video_inform(VIDEO_FLAG_TYPE_8514, &timing_mach32_pci); mach->config1 |= 0x0e; if (mach->ramdac_type == ATI_68860) - mach->config1 |= 0x0400; - else mach->config1 |= 0x0a00; + else + mach->config1 |= 0x0400; mach->config2 |= 0x2000; svga->clock_gen = device_add(&ati18811_1_device); } else {