Revert back change between 1.29 and 1.30
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401103
This commit is contained in:
parent
01e4794725
commit
d7493d7380
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue