Commit e1848e5c authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Fixed a silly VGA-emulation palette bug.

parent 63d3040f
......@@ -166,8 +166,8 @@ void VGA_ioport_out( WORD port, BYTE val )
case 0x3c9:
((BYTE*)&paldat)[palcnt++]=val << 2;
if (palcnt==3) {
VGA_SetPalette(&paldat,palreg,1);
palreg++;
VGA_SetPalette(&paldat,palreg++,1);
palcnt=0;
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment