From f98af7b5256319ed97123d20fc388991d2d05ad0 Mon Sep 17 00:00:00 2001 From: TomW Date: Sat, 20 Sep 2014 17:24:23 +0100 Subject: [PATCH] Mach64 now identifies correctly as PCI when used with a PCI system. --- src/vid_ati_mach64.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vid_ati_mach64.c b/src/vid_ati_mach64.c index 0b3e07a..45700c2 100644 --- a/src/vid_ati_mach64.c +++ b/src/vid_ati_mach64.c @@ -1861,7 +1861,10 @@ uint8_t mach64_ext_inb(uint16_t port, void *p) break; case 0x72ec: - ret = 6 | (3 << 3); /*VLB, 256Kx16 DRAM*/ + if (PCI) + ret = 7 | (3 << 3); /*PCI, 256Kx16 DRAM*/ + else + ret = 6 | (3 << 3); /*VLB, 256Kx16 DRAM*/ break; default: