Revert back change between 1.29 and 1.30
authorPatrice Mandin
Wed, 27 Jul 2005 16:30:12 +0000
changeset 1102f0919504adfd
parent 1101 c8a51d169579
child 1103 18e5babe266e
Revert back change between 1.29 and 1.30
src/video/xbios/SDL_xbios.c
     1.1 --- a/src/video/xbios/SDL_xbios.c	Thu Jul 21 22:21:51 2005 +0000
     1.2 +++ b/src/video/xbios/SDL_xbios.c	Wed Jul 27 16:30:12 2005 +0000
     1.3 @@ -844,7 +844,7 @@
     1.4  				v = colors[i].g;
     1.5  				b = colors[i].b;
     1.6  					
     1.7 -				TT_palette[firstcolor+i]=((r>>4)<<8)|((v>>4)<<4)|(b>>4);
     1.8 +				TT_palette[i]=((r>>4)<<8)|((v>>4)<<4)|(b>>4);
     1.9  			}
    1.10  #ifndef DEBUG_VIDEO_XBIOS
    1.11  			EsetPalette(firstcolor,ncolors,TT_palette);
    1.12 @@ -857,7 +857,7 @@
    1.13  				v = colors[i].g;
    1.14  				b = colors[i].b;
    1.15  
    1.16 -				F30_palette[firstcolor+i]=(r<<16)|(v<<8)|b;
    1.17 +				F30_palette[i]=(r<<16)|(v<<8)|b;
    1.18  			}
    1.19  #ifndef DEBUG_VIDEO_XBIOS
    1.20  			VsetRGB(firstcolor,ncolors,F30_palette);