diff options
author | 2017-12-16 13:21:01 +0100 | |
---|---|---|
committer | 2017-12-16 13:22:21 +0100 | |
commit | 0932b9c2ae7c59681144e8b65862ed541a01c47f (patch) | |
tree | 0294d40bffb0520ea178057318ed03c3a15d4d77 /src/mame/drivers/cobra.cpp | |
parent | 77829f86719aa73ec3eddf08a9c7dfa71c89f5f3 (diff) |
ide: Add non-space cs access methods, use them wherever possible [O. Galibert]
Diffstat (limited to 'src/mame/drivers/cobra.cpp')
-rw-r--r-- | src/mame/drivers/cobra.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/cobra.cpp b/src/mame/drivers/cobra.cpp index e6466abcba9..6e51f108c4e 100644 --- a/src/mame/drivers/cobra.cpp +++ b/src/mame/drivers/cobra.cpp @@ -1947,7 +1947,7 @@ READ16_MEMBER(cobra_state::sub_ata0_r) { mem_mask = ( mem_mask << 8 ) | ( mem_mask >> 8 ); - uint32_t data = m_ata->read16_cs0(space, offset, mem_mask); + uint32_t data = m_ata->read16_cs0(offset, mem_mask); data = ( data << 8 ) | ( data >> 8 ); return data; @@ -1958,14 +1958,14 @@ WRITE16_MEMBER(cobra_state::sub_ata0_w) mem_mask = ( mem_mask << 8 ) | ( mem_mask >> 8 ); data = ( data << 8 ) | ( data >> 8 ); - m_ata->write16_cs0(space, offset, data, mem_mask); + m_ata->write16_cs0(offset, data, mem_mask); } READ16_MEMBER(cobra_state::sub_ata1_r) { mem_mask = ( mem_mask << 8 ) | ( mem_mask >> 8 ); - uint32_t data = m_ata->read16_cs1(space, offset, mem_mask); + uint32_t data = m_ata->read16_cs1(offset, mem_mask); return ( data << 8 ) | ( data >> 8 ); } @@ -1975,7 +1975,7 @@ WRITE16_MEMBER(cobra_state::sub_ata1_w) mem_mask = ( mem_mask << 8 ) | ( mem_mask >> 8 ); data = ( data << 8 ) | ( data >> 8 ); - m_ata->write16_cs1(space, offset, data, mem_mask); + m_ata->write16_cs1(offset, data, mem_mask); } READ32_MEMBER(cobra_state::sub_comram_r) |