mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 10:14:57 -05:00
Revert back change between 1.29 and 1.30
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user