diff --git a/src/emu/video/pc_vga.c b/src/emu/video/pc_vga.c index 1c7e83c10ab..09e3236f788 100644 --- a/src/emu/video/pc_vga.c +++ b/src/emu/video/pc_vga.c @@ -1107,15 +1107,19 @@ static void vga_vh_vga(bitmap_t &bitmap) { int pos, line, column, c, addr, curr_addr; UINT16 *bitmapline; + UINT16 mask_comp; + + /* line compare is screen sensitive */ + mask_comp = 0xff | (LINES & 0x300); curr_addr = 0; if(vga.sequencer.data[4] & 0x08) { for (addr = VGA_START_ADDRESS, line=0; line