summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pci-usb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pci-usb.cpp')
-rw-r--r--src/devices/machine/pci-usb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/machine/pci-usb.cpp b/src/devices/machine/pci-usb.cpp
index 02d3942b296..c750c4d107e 100644
--- a/src/devices/machine/pci-usb.cpp
+++ b/src/devices/machine/pci-usb.cpp
@@ -102,6 +102,9 @@ void usb_uhci_device::map(address_map &map)
, BIT(data, 1)
, BIT(data, 0)
);
+ // set HCHalted if Run/Stop bit is clear
+ if (!BIT(data, 0))
+ m_usbsts |= (1 << 5);
if (mem_mask != 0xffff)
LOG("\tnon-word access!\n");
})