summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nyny.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nyny.cpp')
-rw-r--r--src/mame/drivers/nyny.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/nyny.cpp b/src/mame/drivers/nyny.cpp
index 28623eab530..86ee0734a22 100644
--- a/src/mame/drivers/nyny.cpp
+++ b/src/mame/drivers/nyny.cpp
@@ -415,8 +415,8 @@ READ8_MEMBER(nyny_state::nyny_pia_1_2_r)
uint8_t ret = 0;
/* the address bits are directly connected to the chip selects */
- if (BIT(offset, 2)) ret = m_pia1->read(space, offset & 0x03);
- if (BIT(offset, 3)) ret = m_pia2->read_alt(space, offset & 0x03);
+ if (BIT(offset, 2)) ret = m_pia1->read(offset & 0x03);
+ if (BIT(offset, 3)) ret = m_pia2->read_alt(offset & 0x03);
return ret;
}
@@ -425,8 +425,8 @@ READ8_MEMBER(nyny_state::nyny_pia_1_2_r)
WRITE8_MEMBER(nyny_state::nyny_pia_1_2_w)
{
/* the address bits are directly connected to the chip selects */
- if (BIT(offset, 2)) m_pia1->write(space, offset & 0x03, data);
- if (BIT(offset, 3)) m_pia2->write_alt(space, offset & 0x03, data);
+ if (BIT(offset, 2)) m_pia1->write(offset & 0x03, data);
+ if (BIT(offset, 3)) m_pia2->write_alt(offset & 0x03, data);
}