mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
dspspy: just some more cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3420 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -53,7 +53,7 @@ void CON_Printf(int x, int y, const char* fmt, ...)
|
||||
printf("\x1b[%d;%dH%s", y, x, tmpbuf);
|
||||
}
|
||||
|
||||
void CON_SetColor(u8 foreground, u8 background = 0)
|
||||
void CON_SetColor(u8 foreground, u8 background = CON_BLACK)
|
||||
{
|
||||
u8 bright = foreground & CON_BRIGHT ? 1 : 0;
|
||||
|
||||
@ -63,4 +63,10 @@ void CON_SetColor(u8 foreground, u8 background = 0)
|
||||
printf("\x1b[%d;%d;%dm", 30+foreground, bright, 40+background);
|
||||
}
|
||||
|
||||
void CON_Clear()
|
||||
{
|
||||
// Escape code to clear the whole screen.
|
||||
printf("\x1b[2J");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user