summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2019-06-13 21:07:29 +0200
committer yz70s <yz70s@users.noreply.github.com>2019-06-13 21:09:42 +0200
commit552eea4599cb662aaf6daa4e330f11eed0e85a9d (patch)
tree11ce377b15c1e45dc5dcccc89117ba332c383ad7
parent3aa1d1e8e7ac5a8d45e96b64d5a3438918f6e721 (diff)
Fix problem with iteagle caused by pci change (nw)
-rw-r--r--src/devices/machine/pci-ide.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/machine/pci-ide.cpp b/src/devices/machine/pci-ide.cpp
index 39d359a2905..1dbc2775ff8 100644
--- a/src/devices/machine/pci-ide.cpp
+++ b/src/devices/machine/pci-ide.cpp
@@ -69,6 +69,10 @@ void ide_pci_device::device_start()
{
pci_device::device_start();
+ // always keep this device memory ranges active
+ command |= 3;
+ command_mask &= ~3;
+
add_map(8, M_IO, FUNC(ide_pci_device::chan1_data_command_map));
add_map(4, M_IO, FUNC(ide_pci_device::chan1_control_map));
add_map(8, M_IO, FUNC(ide_pci_device::chan2_data_command_map));