diff options
Diffstat (limited to 'src/devices/video/pc_vga.cpp')
-rw-r--r-- | src/devices/video/pc_vga.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/video/pc_vga.cpp b/src/devices/video/pc_vga.cpp index d1d20c70c14..a553813a8d7 100644 --- a/src/devices/video/pc_vga.cpp +++ b/src/devices/video/pc_vga.cpp @@ -1698,6 +1698,12 @@ uint8_t vga_device::gc_reg_read(uint8_t index) return res; } +uint8_t vga_device::seq_reg_read(uint8_t index) +{ + logerror("Reading unmapped sequencer read register %02x (SVGA?)\n", index); + return 0; +} + uint8_t vga_device::port_03c0_r(offs_t offset) { uint8_t data = 0xff; @@ -1758,6 +1764,8 @@ uint8_t vga_device::port_03c0_r(offs_t offset) case 5: if (vga.sequencer.index < vga.svga_intf.seq_regcount) data = vga.sequencer.data[vga.sequencer.index]; + else + data = seq_reg_read(vga.sequencer.index); break; case 6: |