From 0bd0a3ed1c1d60d2c3c491e013d44e07b0bc581a Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 28 Sep 2015 17:51:21 -0500 Subject: [PATCH] i8271: oops (nw) --- src/devices/machine/i8271.c | 4 ++-- 1 file 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(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;