summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pci/virge_pci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pci/virge_pci.cpp')
-rw-r--r--src/devices/bus/pci/virge_pci.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/pci/virge_pci.cpp b/src/devices/bus/pci/virge_pci.cpp
index 04020efc32b..ad54f89fe16 100644
--- a/src/devices/bus/pci/virge_pci.cpp
+++ b/src/devices/bus/pci/virge_pci.cpp
@@ -87,7 +87,7 @@ void virge_pci_device::config_map(address_map &map)
void virge_pci_device::legacy_io_map(address_map &map)
{
- map(0x00, 0x2f).m(m_vga, FUNC(s3virge_vga_device::io_map));
+ map(0x03b0, 0x03df).m(m_vga, FUNC(s3virge_vga_device::io_map));
}
// FIXME: belongs to s3virge_vga_device.
@@ -257,7 +257,7 @@ void virge_pci_device::map_extra(uint64_t memory_window_start, uint64_t memory_w
if (BIT(command, 0))
{
- io_space->install_device(0x03b0, 0x03df, *this, &virge_pci_device::legacy_io_map);
+ io_space->install_device(0x0000, 0xffff, *this, &virge_pci_device::legacy_io_map);
// Available at MMFF20 only if true
if (m_vga->read_pd26_strapping() == false)