# HG changeset patch # User Patrice Mandin # Date 1122481812 0 # Node ID f0919504adfd7b9efd595efb31d1afe1df13a07c # Parent c8a51d169579ab345fdd67688f2bcba4c589822e Revert back change between 1.29 and 1.30 diff -r c8a51d169579 -r f0919504adfd src/video/xbios/SDL_xbios.c --- a/src/video/xbios/SDL_xbios.c Thu Jul 21 22:21:51 2005 +0000 +++ b/src/video/xbios/SDL_xbios.c Wed Jul 27 16:30:12 2005 +0000 @@ -844,7 +844,7 @@ 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 @@ 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);