Fix the regress of livecd, it works now again, some how the palette color are being bigger that 256 color and then the bootvid.sys crash

svn path=/trunk/; revision=22006
This commit is contained in:
Magnus Olsen 2006-05-24 06:35:59 +00:00
parent 7619400890
commit bf04d0ad97

View file

@ -313,7 +313,7 @@ InbvDisplayBitmap(ULONG Width, ULONG Height, PCHAR ImageData)
}
}
}
if ((x>=0) && (x<640) && (479-y>=0) && (479-y<480) && (c>=0) && (c<256))
InbvPutPixels(x, 479 - y, c);
x += 8 * 4;
}