summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cave.cpp
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2019-03-30 08:43:35 +0900
committer ajrhacker <ajrhacker@users.noreply.github.com>2019-03-29 19:43:35 -0400
commit92b6d20440435b8ff19c6c757a5d0b56ea89736e (patch)
tree24893847f52eb92a7914b88c0b4879f3cb083962 /src/mame/drivers/cave.cpp
parenta81a5dac636dbe4adf30c1759ea3192629a41bdb (diff)
gen_latch.cpp : Remove unnecessary arguments in handlers (#4623)
* gen_latch.cpp : Remove unnecessary arguments in acknowledge related handlers * gen_latch.cpp : Remove unnecessary handlers in 16 bit read/write handlers * gen_latch.cpp : Remove unnecessary arguments in 8 bit handlers
Diffstat (limited to 'src/mame/drivers/cave.cpp')
-rw-r--r--src/mame/drivers/cave.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cave.cpp b/src/mame/drivers/cave.cpp
index 54047855bc0..9b1dde95e6e 100644
--- a/src/mame/drivers/cave.cpp
+++ b/src/mame/drivers/cave.cpp
@@ -242,7 +242,7 @@ WRITE16_MEMBER(cave_state::sound_cmd_w)
{
// m_sound_flag[0] = 1;
// m_sound_flag[1] = 1;
- m_soundlatch->write(space, offset, data, mem_mask);
+ m_soundlatch->write(data);
m_maincpu->spin_until_time(attotime::from_usec(50)); // Allow the other cpu to reply
}
@@ -250,14 +250,14 @@ WRITE16_MEMBER(cave_state::sound_cmd_w)
READ8_MEMBER(cave_state::soundlatch_lo_r)
{
// m_sound_flag[0] = 0;
- return m_soundlatch->read(space, offset, 0x00ff) & 0xff;
+ return m_soundlatch->read() & 0xff;
}
/* Sound CPU: read the high 8 bits of the 16 bit sound latch */
READ8_MEMBER(cave_state::soundlatch_hi_r)
{
// m_sound_flag[1] = 0;
- return m_soundlatch->read(space, offset, 0xff00) >> 8;
+ return m_soundlatch->read() >> 8;
}
/* Main CPU: read the latch written by the sound CPU (acknowledge) */