1
0
Fork 0

Completing S3 XGA functionality. Fixed minor mouse glitch.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2085
This commit is contained in:
Dean Beeler 2004-12-22 10:55:33 +00:00
parent 1d46933a6b
commit d1d89dc803

View file

@ -108,7 +108,7 @@ static Bit8u * VGA_Draw_VGA_Line(Bitu vidstart,Bitu panning,Bitu line) {
static Bit8u * VGA_Draw_VGA_Line_HWMouse(Bitu vidstart, Bitu panning, Bitu line) {
if(vga.s3.hgc.curmode & 0x1) {
Bitu lineat = vidstart / ((160 * vga.draw.height) / 640);
Bitu lineat = vidstart / ((220 * vga.draw.height) / 640);
if((lineat < vga.s3.hgc.originy) || (lineat > (vga.s3.hgc.originy + 63))) {
return VGA_Draw_VGA_Line(vidstart, panning, line);
} else {