[hatari-devel] Hatari patches for bitplane conversion

Eero Tamminen eerot at users.berlios.de
Sun Jul 26 09:14:10 CEST 2009


Hi,

(last mail for a week)

On Sunday 26 July 2009, Kåre Andersen wrote:
> The code size seems to have increased a bit after removing my ugly
> file scope variables, but perhaps its not really noticeable anyway.

Thank, looks much better now. :-)


You could still consider the AdjustLinePaletteRemap() stuff I mailed in
previous mail.

Dest* variable setting could maybe also be moved after update checking:
--------
		dest = (Uint32*) ((Uint8*)sdlscrn->pixels + (sdlscrn->pitch *y<<1));
		dest2 = dest + (sdlscrn->pitch >>2);
		
		if(! ( 
			(AdjustLinePaletteRemap(y) & PALETTEMASK_UPDATEMASK)
				|| pFrameBuffer->bFullUpdate 
				|| wmemcmp(stplanes, stcopy,  (STScreenWidthBytes >>1))
		)) continue;
--------

	- Eero



More information about the hatari-devel mailing list