summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/amiga.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-12-16 13:21:01 +0100
committer Olivier Galibert <galibert@pobox.com>2017-12-16 13:22:21 +0100
commit0932b9c2ae7c59681144e8b65862ed541a01c47f (patch)
tree0294d40bffb0520ea178057318ed03c3a15d4d77 /src/mame/drivers/amiga.cpp
parent77829f86719aa73ec3eddf08a9c7dfa71c89f5f3 (diff)
ide: Add non-space cs access methods, use them wherever possible [O. Galibert]
Diffstat (limited to 'src/mame/drivers/amiga.cpp')
-rw-r--r--src/mame/drivers/amiga.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/amiga.cpp b/src/mame/drivers/amiga.cpp
index 0dac55ae493..c45179b6683 100644
--- a/src/mame/drivers/amiga.cpp
+++ b/src/mame/drivers/amiga.cpp
@@ -755,9 +755,9 @@ READ16_MEMBER( a4000_state::ide_r )
// this very likely doesn't respond to all the addresses, figure out which ones
if (BIT(offset, 12))
- data = m_ata->read16_cs1(space, (offset >> 1) & 0x07, mem_mask);
+ data = m_ata->read16_cs1((offset >> 1) & 0x07, mem_mask);
else
- data = m_ata->read16_cs0(space, (offset >> 1) & 0x07, mem_mask);
+ data = m_ata->read16_cs0((offset >> 1) & 0x07, mem_mask);
// swap
data = (data << 8) | (data >> 8);
@@ -777,9 +777,9 @@ WRITE16_MEMBER( a4000_state::ide_w )
// this very likely doesn't respond to all the addresses, figure out which ones
if (BIT(offset, 12))
- m_ata->write16_cs1(space, (offset >> 1) & 0x07, data, mem_mask);
+ m_ata->write16_cs1((offset >> 1) & 0x07, data, mem_mask);
else
- m_ata->write16_cs0(space, (offset >> 1) & 0x07, data, mem_mask);
+ m_ata->write16_cs0((offset >> 1) & 0x07, data, mem_mask);
}
WRITE_LINE_MEMBER( a4000_state::ide_interrupt_w )