diff --git a/src/emu/video/pc_vga.c b/src/emu/video/pc_vga.c index 5dd875510fc..0e7322e2265 100644 --- a/src/emu/video/pc_vga.c +++ b/src/emu/video/pc_vga.c @@ -629,16 +629,14 @@ READ8_HANDLER( vga_port_03c0_r ) switch (offset) { + case 0: + data = vga.attribute.index; + break; case 1: - if (vga.attribute.state==0) - { - data = vga.attribute.index; - } - else - { - if ((vga.attribute.index&0x1f)