summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2015-09-28 17:51:21 -0500
committer cracyc <cracyc@users.noreply.github.com>2015-09-28 17:51:21 -0500
commit0bd0a3ed1c1d60d2c3c491e013d44e07b0bc581a (patch)
tree5851f2989a6a7cc7b66203f104acff2b06564cc6 /src
parent036c40ee0c6c8a17ba57569cf5c5e635f56b63d2 (diff)
i8271: oops (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/machine/i8271.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/i8271.c b/src/devices/machine/i8271.c
index 0f8f48dda3c..53b7f8ce3bd 100644
--- a/src/devices/machine/i8271.c
+++ b/src/devices/machine/i8271.c
@@ -6,7 +6,7 @@
const device_type I8271 = &device_creator<i8271_device>;
i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271n", __FILE__),
+ : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__),
intrq_cb(*this),
drq_cb(*this),
hdl_cb(*this),
@@ -474,7 +474,7 @@ void i8271_device::live_run(attotime limit)
}
if(cur_live.data_reg != 0xff)
{
- switch(command[4] & 0xc0) {
+ switch(command[4] >> 6) {
case 0:
if(cur_live.data_reg != data)
scan_match = false;