Fixed a silly VGA-emulation palette bug.

This commit is contained in:
Ove Kaaven 1999-03-14 12:23:17 +00:00 committed by Alexandre Julliard
parent 63d3040f8f
commit e1848e5cdb
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}