To blit RGB values to the PSP vram, I am using the following Macro
Code: Select all
#define RGB16(r, g, b) ((r & 31) + ((g & 31)<<5) + ((b & 31)<<10))
I am then doing a 1-255 RGB sweep, using this code:
Code: Select all
for(y=1;y<256;y++){
for(x=1;x<256;x++){
PutPixelRGB(x,y, x, x, x);
}
}
I have tried everything I can think of, but something is wrong, and I can only pray that you can help me....