Skip to content
Snippets Groups Projects
Commit e1848e5c authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

Fixed a silly VGA-emulation palette bug.

parent 63d3040f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment