Search found 1 match

by gpx
Sun Aug 21, 2005 5:37 am
Forum: PSP Development
Topic: Color Format
Replies: 0
Views: 679

Color Format

Hi

Does anyone have the exact color format for PSP colors - it appears to be "abgr" but:

#define ARGBtoColor(a, r, g, b) (unsigned int)((((a)&0xff)<<24|(((b)&0xff)<<16)|(((g)&0xff)<<8)|((r)&0xff)))

doesn't work.

Any ideas?
gpx