Update tgidemo.c - apple2 fix
This commit is contained in:
@@ -81,15 +81,23 @@ static void DoPalette (int n)
|
||||
{
|
||||
static const unsigned char Palette[4][2] = {
|
||||
/* FIXME: add some ifdefs with proper values for targets that need it */
|
||||
#if !defined(__APPLE2__)
|
||||
{ COLOR_BLACK, COLOR_BLUE },
|
||||
{ COLOR_WHITE, COLOR_BLACK },
|
||||
{ COLOR_RED, COLOR_BLACK },
|
||||
{ COLOR_BLACK, COLOR_BLACK }
|
||||
#else
|
||||
{ COLOR_WHITE, COLOR_BLACK },
|
||||
{ COLOR_BLACK, COLOR_BLACK },
|
||||
{ COLOR_WHITE, COLOR_BLACK },
|
||||
{ COLOR_BLACK, COLOR_BLACK }
|
||||
#endif
|
||||
};
|
||||
tgi_setpalette (Palette[n]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void DoCircles (void)
|
||||
{
|
||||
unsigned char I;
|
||||
|
||||
Reference in New Issue
Block a user