diff options
Diffstat (limited to 'src/mame/drivers/punchout.cpp')
-rw-r--r-- | src/mame/drivers/punchout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/punchout.cpp b/src/mame/drivers/punchout.cpp index 2b64436a90c..503d74a0a3a 100644 --- a/src/mame/drivers/punchout.cpp +++ b/src/mame/drivers/punchout.cpp @@ -209,7 +209,7 @@ READ8_MEMBER(punchout_state::spunchout_exp_r) // d5: _ALARM from RP5C01 // d6: COUNTER OUT from RP5H01 // d7: DATA OUT from RP5H01 - always 0? - uint8_t ret = m_rtc->read(space, offset >> 4 & 0xf) & 0xf; + uint8_t ret = m_rtc->read(offset >> 4 & 0xf) & 0xf; ret |= 0x10; ret |= m_rtc->alarm_r() ? 0x00 : 0x20; ret |= m_rp5h01->counter_r() ? 0x00 : 0x40; @@ -221,7 +221,7 @@ READ8_MEMBER(punchout_state::spunchout_exp_r) WRITE8_MEMBER(punchout_state::spunchout_exp_w) { // d0-d3: D0-D3 to RP5C01 - m_rtc->write(space, offset >> 4 & 0xf, data & 0xf); + m_rtc->write(offset >> 4 & 0xf, data & 0xf); } WRITE8_MEMBER(punchout_state::spunchout_rp5h01_reset_w) |