From: Toni Wilen Date: Wed, 14 Feb 2018 18:32:07 +0000 (+0200) Subject: CL blitter bounds check fix. X-Git-Tag: 4000~183 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=b48eb99d54ba1cf0d0f62454ec8eca0fd0852aed;p=francis%2Fwinuae.git CL blitter bounds check fix. --- diff --git a/qemuvga/cirrus_vga.cpp b/qemuvga/cirrus_vga.cpp index ea51fec7..9502dca9 100644 --- a/qemuvga/cirrus_vga.cpp +++ b/qemuvga/cirrus_vga.cpp @@ -205,7 +205,7 @@ static void check_blit(int32_t addr, uint32_t mask, int pitch, int width, int *h dst += (dstaddr & dstmask); #define BLTCHECK_DST(skip) \ - check_blit(dstaddr, dstmask, dstpitch, bltwidth - skip, &bltheight, DEPTH, 1); + check_blit(dstaddr + skip, dstmask, dstpitch, bltwidth - skip, &bltheight, DEPTH, 1); #define BLTCHECK_FWD \ check_blit(dstaddr, dstmask, dstpitch, bltwidth, &bltheight, 8, 1); \