From 8186a884d79b9c396945ec9c6a8b4333f1590701 Mon Sep 17 00:00:00 2001 From: SarahW Date: Wed, 4 Apr 2018 21:25:47 +0100 Subject: [PATCH] S3 BitBlt commands don't update current X/Y registers at the end of a blit. Fixes some S3 graphics issues in OS/2. --- src/vid_s3.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/vid_s3.c b/src/vid_s3.c index 1e2744b..0950e3c 100644 --- a/src/vid_s3.c +++ b/src/vid_s3.c @@ -1833,11 +1833,7 @@ void s3_accel_start(int count, int cpu_input, uint32_t mix_dat, uint32_t cpu_dat s3->accel.sy--; if (s3->accel.sy < 0) - { - s3->accel.cur_x = s3->accel.cx; - s3->accel.cur_y = s3->accel.cy; return; - } } } } @@ -1926,11 +1922,7 @@ void s3_accel_start(int count, int cpu_input, uint32_t mix_dat, uint32_t cpu_dat if (cpu_input/* && (s3->accel.multifunc[0xa] & 0xc0) == 0x80*/) return; if (s3->accel.sy < 0) - { -// s3->accel.cur_x = s3->accel.cx; -// s3->accel.cur_y = s3->accel.cy; return; - } } } }