--- hatari/src/convert/spec320x16.c 2019/04/01 07:14:20 1.1.1.8 +++ hatari/src/convert/spec320x16.c 2019/04/09 08:48:54 1.1.1.10 @@ -12,9 +12,14 @@ static void ConvertSpec512_320x16Bit(voi Uint32 *edi, *ebp; Uint16 *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; + /* on x86, unaligned access macro touches also + * next byte, zero it for code checkers + */ + pixelspace[4] = 0; + Spec512_StartFrame(); /* Start frame, track palettes */ edx = 0; /* Clear index for loop */ @@ -92,5 +97,5 @@ static void ConvertSpec512_320x16Bit(voi pPCScreenDest = (((Uint8 *)pPCScreenDest) + PCScreenBytesPerLine); } - bScreenContentsChanged = TRUE; + bScreenContentsChanged = true; }