From cf7b49a52f683839b7d0615de2dc7d73fcfd87e8 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Tue, 15 Aug 2023 22:47:29 +0200 Subject: [PATCH] Pitch fix for Mach8/32. Fix minor bug in the pitch when it was not being issued correctly in the Mach8/32. --- src/video/vid_ati_mach8.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/video/vid_ati_mach8.c b/src/video/vid_ati_mach8.c index 9d5b1fa3b..8df054060 100644 --- a/src/video/vid_ati_mach8.c +++ b/src/video/vid_ati_mach8.c @@ -3877,9 +3877,7 @@ mach_accel_out(uint16_t port, uint8_t val, mach_t *mach) case 0x76ee: case 0x76ef: WRITE8(port, mach->accel.ge_pitch, val); - if (port & 1) - dev->ext_pitch = ((mach->accel.ge_pitch & 0xff) << 3); - + dev->ext_pitch = ((mach->accel.ge_pitch & 0xff) << 3); svga_recalctimings(svga); break;