From 52e9d06b5f128d94de50c1e1186d74573425b99b Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 24 Mar 2021 22:12:46 +0100 Subject: [PATCH] And a fix to the cursor fix. --- src/video/vid_et4000w32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_et4000w32.c b/src/video/vid_et4000w32.c index 88f74c908..c25d4705d 100644 --- a/src/video/vid_et4000w32.c +++ b/src/video/vid_et4000w32.c @@ -1341,7 +1341,7 @@ void et4000w32p_hwcursor_draw(svga_t *svga, int displine) int xx2, width = (svga->hwcursor_latch.xsize - svga->hwcursor_latch.xoff); int pitch = (svga->hwcursor_latch.xsize == 128) ? 32 : 16; uint8_t dat; - offset = svga->hwcursor_latch.xoff / shift; + offset = svga->hwcursor_latch.xoff; for (x = 0; x < width; x += 4) { dat = svga->vram[svga->hwcursor_latch.addr + (offset >> 2)];