Skip to content

Commit

Permalink
Revert back change between 1.29 and 1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Jul 27, 2005
1 parent 79bafad commit f2a8e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/xbios/SDL_xbios.c
Expand Up @@ -844,7 +844,7 @@ static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors
v = colors[i].g;
b = colors[i].b;

TT_palette[firstcolor+i]=((r>>4)<<8)|((v>>4)<<4)|(b>>4);
TT_palette[i]=((r>>4)<<8)|((v>>4)<<4)|(b>>4);
}
#ifndef DEBUG_VIDEO_XBIOS
EsetPalette(firstcolor,ncolors,TT_palette);
Expand All @@ -857,7 +857,7 @@ static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors
v = colors[i].g;
b = colors[i].b;

F30_palette[firstcolor+i]=(r<<16)|(v<<8)|b;
F30_palette[i]=(r<<16)|(v<<8)|b;
}
#ifndef DEBUG_VIDEO_XBIOS
VsetRGB(firstcolor,ncolors,F30_palette);
Expand Down

0 comments on commit f2a8e0a

Please sign in to comment.