From d7493d7380844159819f7338c06b9ca79f726bde Mon Sep 17 00:00:00 2001 From: Patrice Mandin Date: Wed, 27 Jul 2005 16:30:12 +0000 Subject: [PATCH] Revert back change between 1.29 and 1.30 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401103 --- src/video/xbios/SDL_xbios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/xbios/SDL_xbios.c b/src/video/xbios/SDL_xbios.c index 7f0f501e6..49e0a1e0b 100644 --- a/src/video/xbios/SDL_xbios.c +++ b/src/video/xbios/SDL_xbios.c @@ -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);