--- hatari/src/convert/spec640x16.c 2019/04/01 07:14:21 1.1.1.6 +++ hatari/src/convert/spec640x16.c 2019/04/09 08:48:56 1.1.1.8 @@ -13,9 +13,14 @@ static void ConvertSpec512_640x16Bit(voi Uint32 *edi, *ebp; Uint32 *esi; Uint32 eax, ebx, ecx, edx; - Uint32 pixelspace[4]; /* Workspace to store pixels to so can print in right order for Spec512 */ + Uint32 pixelspace[5]; /* Workspace to store pixels to so can print in right order for Spec512 */ int y, x, Screen4BytesPerLine; + /* on x86, unaligned access macro touches also + * next byte, zero it for code checkers + */ + pixelspace[4] = 0; + Spec512_StartFrame(); /* Start frame, track palettes */ Screen4BytesPerLine = PCScreenBytesPerLine / 4; edx = 0; /* Clear index for loop */ @@ -117,5 +122,5 @@ static void ConvertSpec512_640x16Bit(voi pPCScreenDest = (((Uint8 *)pPCScreenDest)+2*PCScreenBytesPerLine); } - bScreenContentsChanged = TRUE; + bScreenContentsChanged = true; }