mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
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:
parent
7619400890
commit
bf04d0ad97
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue