diff options
Diffstat (limited to 'src/mame/drivers/cop01.cpp')
-rw-r--r-- | src/mame/drivers/cop01.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cop01.cpp b/src/mame/drivers/cop01.cpp index 605268c84f0..06a8329f43a 100644 --- a/src/mame/drivers/cop01.cpp +++ b/src/mame/drivers/cop01.cpp @@ -79,13 +79,13 @@ Mighty Guy board layout: WRITE8_MEMBER(cop01_state::cop01_sound_command_w) { - m_soundlatch->write(space, offset, data); - m_audiocpu->set_input_line(0, ASSERT_LINE ); + m_soundlatch->write(data); + m_audiocpu->set_input_line(0, ASSERT_LINE); } READ8_MEMBER(cop01_state::cop01_sound_command_r) { - int res = (m_soundlatch->read(space, offset) & 0x7f) << 1; + int res = (m_soundlatch->read() & 0x7f) << 1; /* bit 0 seems to be a timer */ if ((m_audiocpu->total_cycles() / TIMER_RATE) & 1) |