[Scummvm-devel] PS2 backend - up & running (almost)

Johannes Schickel lordhoto at gmail.com
Wed Oct 29 20:46:42 CET 2008


On Wednesday 29 October 2008 18:26:23 Max Horn wrote:
> >     - is it supposed to be blue & green or I fucked up something?
> >       (likely)
>
> As far as I can tell, the PSP uses the 555 mode; the new GUI code is
> currently hardwired to use 565 mode (eeek), which probably explains
> the wrong colors. While Tanoku probably can make it 565 ready easily,
> what we really should do (soon, at least) is to get rid of the evil
> gBitFormat hack, and add some kind of "PixelFormat" struct, and an API
> to OSystem which allows querying backends for the pixelformat used in
> the overlay...
>
> Tanoku, LordHoto, any comments?

Well I'm still for keeping templated bit format specifications even when we 
add a PixelFormat struct though. Of course one might want to do some real 
profiler checks if there's any real gain :-). Apart I really think we 
should get rid of the gBitFormat hack, especially since we could use a 
PixelFormat description for possible game screen 16bpp support too.

// Johannes




More information about the Scummvm-devel mailing list