summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/megasys1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/megasys1.cpp')
-rw-r--r--src/mame/drivers/megasys1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/megasys1.cpp b/src/mame/drivers/megasys1.cpp
index 6931a261ef6..1f8aba16840 100644
--- a/src/mame/drivers/megasys1.cpp
+++ b/src/mame/drivers/megasys1.cpp
@@ -508,7 +508,7 @@ void megasys1_state::p47b_adpcm_w(offs_t offset, u8 data)
{
// bit 6 is always set
m_p47b_adpcm[offset]->reset_w(BIT(data, 7));
- m_p47b_adpcm[offset]->write_data(data & 0x0f);
+ m_p47b_adpcm[offset]->data_w(data & 0x0f);
m_p47b_adpcm[offset]->vclk_w(1);
m_p47b_adpcm[offset]->vclk_w(0);
}