summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hvyunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hvyunit.cpp')
-rw-r--r--src/mame/drivers/hvyunit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/hvyunit.cpp b/src/mame/drivers/hvyunit.cpp
index 8290f0d6837..fc0b73138ff 100644
--- a/src/mame/drivers/hvyunit.cpp
+++ b/src/mame/drivers/hvyunit.cpp
@@ -327,10 +327,10 @@ READ8_MEMBER(hvyunit_state::mermaid_p0_r)
WRITE8_MEMBER(hvyunit_state::mermaid_p0_w)
{
if (!BIT(m_mermaid_p[0], 1) && BIT(data, 1))
- m_slavelatch->write(space, 0, m_mermaid_p[1]);
+ m_slavelatch->write(m_mermaid_p[1]);
if (BIT(data, 0) == 0)
- m_mermaid_p[1] = m_mermaidlatch->read(space, 0);
+ m_mermaid_p[1] = m_mermaidlatch->read();
m_mermaid_p[0] = data;
}