From c79d161b2b02a8ca991bfa1ada81d4946f1eedcf Mon Sep 17 00:00:00 2001 From: TomW Date: Sat, 16 Nov 2013 20:48:51 +0000 Subject: [PATCH] Fixed Mach64 in 32-bit colour modes. --- src/vid_ati_mach64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vid_ati_mach64.c b/src/vid_ati_mach64.c index de505b4..3e211e0 100644 --- a/src/vid_ati_mach64.c +++ b/src/vid_ati_mach64.c @@ -165,7 +165,7 @@ enum SRC_LINEAR_EN = 4 }; -static int mach64_width[6] = {0, 0, 0, 1, 1, 2}; +static int mach64_width[8] = {0, 0, 0, 1, 1, 2, 2, 0}; enum { @@ -315,6 +315,7 @@ void mach64_recalctimings(svga_t *svga) case 6: svga->render = svga_render_32bpp_highres; svga->hdisp *= 8; + svga->rowoffset *= 2; break; }