Using the correct variable type fixes Cirrus pattern copy issues introduced with

the segfault fix.
This commit is contained in:
Volker Ruppert 2020-08-03 18:25:10 +00:00
parent f545071b4d
commit bf1d96e7e0

View File

@ -2778,8 +2778,9 @@ void bx_svga_cirrus_c::svga_patterncopy()
{
Bit8u color[4];
Bit8u work_colorexp[256];
Bit8u *src, *dst, dstaddr;
Bit8u *src, *dst;
Bit8u *srcc, *src2;
Bit32u dstaddr;
int x, y, pattern_x, pattern_y, srcskipleft;
int patternbytes = 8 * BX_CIRRUS_THIS bitblt.pixelwidth;
int pattern_pitch = patternbytes;