Code: Select all
void pspDebugScreenPutsFade(char buffer[], unsigned int colorfrom, unsigned int colorto){
int counter=0;
char output[1];
while(counter < strlen(buffer)){
pspDebugScreenSetTextColor(colorfrom - (counter * colorto));
sprintf(output, "%c", buffer[counter]);
pspDebugScreenPuts(output);
counter++;
}
return;
}