Author: greatlrd
Date: Wed May 24 10:35:59 2006
New Revision: 22006
URL:
http://svn.reactos.ru/svn/reactos?rev=22006&view=rev
Log:
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
Modified:
trunk/reactos/drivers/base/bootvid/bootvid.c
Modified: trunk/reactos/drivers/base/bootvid/bootvid.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/base/bootvid/bootvi…
==============================================================================
--- trunk/reactos/drivers/base/bootvid/bootvid.c (original)
+++ trunk/reactos/drivers/base/bootvid/bootvid.c Wed May 24 10:35:59 2006
@@ -313,7 +313,7 @@
}
}
}
-
+ if ((x>=0) && (x<640) && (479-y>=0) &&
(479-y<480) && (c>=0) && (c<256))
InbvPutPixels(x, 479 - y, c);
x += 8 * 4;
}