diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-03-27 23:15:32 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-03-27 23:15:32 -0400 |
commit | 91da214592d47f3a1eff4deda11a162a9cb9569c (patch) | |
tree | 7f8c4f36129c8680bb9a9adbfb3f1a03e201bce2 /src/mame/drivers/ampro.cpp | |
parent | 9873d6afaa7f7d7889b707b66a1b6884b0049cbb (diff) |
z80ctc, z80dart, z80sio: Simplify read/write handlers (nw)
Diffstat (limited to 'src/mame/drivers/ampro.cpp')
-rw-r--r-- | src/mame/drivers/ampro.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/ampro.cpp b/src/mame/drivers/ampro.cpp index 74a7b2e1f43..b5c7cbce501 100644 --- a/src/mame/drivers/ampro.cpp +++ b/src/mame/drivers/ampro.cpp @@ -88,17 +88,17 @@ WRITE8_MEMBER( ampro_state::port00_w ) READ8_MEMBER( ampro_state::io_r ) { if (offset < 0x40) - return m_ctc->read(space, offset>>4); + return m_ctc->read(offset>>4); else - return m_dart->ba_cd_r(space, offset>>2); + return m_dart->ba_cd_r(offset>>2); } WRITE8_MEMBER( ampro_state::io_w ) { if (offset < 0x40) - m_ctc->write(space, offset>>4, data); + m_ctc->write(offset>>4, data); else - m_dart->ba_cd_w(space, offset>>2, data); + m_dart->ba_cd_w(offset>>2, data); } void ampro_state::ampro_mem(address_map &map) |