[hatari-devel] Small bugs (fix before 1.4?)

Anders Eriksson ae at dhs.nu
Thu Jun 3 16:18:10 CEST 2010


On Thu, 3 Jun 2010, Thomas H. wrote:

>> R: mask = 0x0000f800, shift=11, loss=3
>> G: mask = 0x000007e0, shift=5, loss=2
>> B: mask = 0x0000001f, shift=0, loss=3
>
> Ok, now that means that your Hatari is still running at 16 bit-per-pixel color depths... could you please check the line starting with "nForceBpp" in your ~/.hatari/hatari.cfg file? It should be "nForceBpp = 0" for color depth autodetection...
>
> However, I am quite confused now how the screenshots could end up with wrong colors on your system... the 16-bit conversion in screenSnapShot.c / pixel_convert.h looks quite endianess-save to me, so I am running out of ideas how to fix this problem... could somebody else maybe have a look at that code? Maybe I've missed something...

Hello,

I would like to repeat that previous Hatari versions (and hg-versions) 
have saved screenshots in BMP format, it has been fine then. Now it saves 
in PNG and the colours get messed up.

To me it looks like blue componnet is gone and green/red has changed 
places.

I would also like to point out that the screen rendering is fine, it's 
only the screenshots that get wrong.

I will try 32-bit when I get home.

--
Anders Eriksson
ae at dhs.nu     http://www.dhs.nu/
ae at atari.org  http://www.atari.org/



More information about the hatari-devel mailing list