GP2X Hh Colours Are Wrong


Orkie

Super Duper Mega GP Mania
Joined
Mar 22, 2006
Messages
2,376
Location
UK
Website
www.gp2x.dev
I've been playing around with sdk2x on devkitARM over the past few days and while I've managed to get a 16bit framebuffer going, the colours are all too pale. For example, pure red comes out as pink :S. Any idea how I can fix this? I've uploaded my test code (copy fb.bin and run.gpe to an SD card and launch it to see what happens, source is also in there): http://x11.gp2x.de/devkitpro/test.zip
 
How do you set one up? I have been using the function rlyeh gave me (commented out in the posted code) but it didn't seem to do anything at all.
 
Orkie said:
How do you set one up? I have been using the function rlyeh gave me (commented out in the posted code) but it didn't seem to do anything at all.
Shouldnt you call that function *before* any drawing call in order to see the changes with a little time enough?
Btw, I'd bet my pants it's about gamma or LCD timing related.
 
Last edited by a moderator:
Back
Top