Revert back change between 1.29 and 1.30

This commit is contained in:
Patrice Mandin
2005-07-27 16:30:12 +00:00
parent 4999048fe1
commit 8fbcf757f8

View File

@@ -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);