When using the debug menu in a dev program, it can get really boring. I know there is the option to use pspDebugScreenSetBackColo r() and pspDebugScreenSetTextColo r() to change the color. It says to use a 32 bit RPG color, and I have what they look like. If I am not mistaken, the format looks something like 0XFFFFFFFF. Wether I am right or wrong, it doesn't change the fact that I have no idea how to convert a color to this format. If anybody could let me know of a program that can convert Hex (#FFFFFF) or standard RGB (255, 255, 255) to the correct format, that'd be great. Thanks in advance.
Thanks to Aenea to posting a correct maco!
Code:#define RGB(r, g, b) ((b << 16) | (g << 8) | r) #define BLUE RGB(0, 0, 255) #define RED RGB(255, 0, 0) #define GREEN RGB(0, 255, 0) #define BLACK RGB(0, 0, 0) #define WHITE RGB(255, 255, 255) pspDebugScreenSetTextColor(BLUE); pspDebugScreenPrintf("This is just a text to show off the new colours!\n");