Better toggle all relevant bits in VGA crt register.

This commit is contained in:
Andreas Mohr 2002-07-03 21:04:44 +00:00 committed by Alexandre Julliard
parent 15a0f0e78e
commit 73f0bfb838
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ BYTE VGA_ioport_in( WORD port )
case 0x3da: case 0x3da:
/* since we don't (yet?) serve DOS VM requests while VGA_Poll is running, /* since we don't (yet?) serve DOS VM requests while VGA_Poll is running,
we need to fake the occurrence of the vertical refresh */ we need to fake the occurrence of the vertical refresh */
ret=vga_refresh?0x00:0x08; ret=vga_refresh?0x00:0x0b; /* toggle video RAM and lightpen and VGA refresh bits ! */
if (vga_mode_initialized) if (vga_mode_initialized)
vga_refresh=0; vga_refresh=0;
else else