From 49b508caab7a02de80b75538a536fd4de846b0b0 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Sep 2021 02:23:54 +0200 Subject: [PATCH] And another fix. --- src/video/vid_s3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/vid_s3.c b/src/video/vid_s3.c index 876fda6e8..a7638d830 100644 --- a/src/video/vid_s3.c +++ b/src/video/vid_s3.c @@ -1885,9 +1885,9 @@ s3_hwcursor_convert_addr(svga_t *svga) if ((svga->bpp == 8) && ((svga->gdcreg[5] & 0x60) >= 0x20) && (svga->crtc[0x45] & 0x10)) { real_addr = (svga->hwcursor_latch.addr & 0xfffff000); if ((svga->gdcreg[5] & 0x60) >= 0x40) - return (real_addr | ((svga->hwcursor_latch.addr & 0x200) << 2)) + 0x200; + return (real_addr | ((svga->hwcursor_latch.addr & 0x200) << 2)) + 0x600; else if ((svga->gdcreg[5] & 0x60) == 0x20) - return (real_addr | ((svga->hwcursor_latch.addr & 0x300) << 2)) + 0x100; + return (real_addr | ((svga->hwcursor_latch.addr & 0x300) << 2)) + 0x300; else return svga->hwcursor_latch.addr; } else