Revert back change between 1.29 and 1.30
authorPatrice Mandin <patmandin@gmail.com>
Wed, 27 Jul 2005 16:30:12 +0000
changeset 1102 f0919504adfd
parent 1101 c8a51d169579
child 1103 18e5babe266e
Revert back change between 1.29 and 1.30
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);