summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/midtunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/midtunit.cpp')
-rw-r--r--src/mame/machine/midtunit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/midtunit.cpp b/src/mame/machine/midtunit.cpp
index 5572fa5e7d7..fe284aed25d 100644
--- a/src/mame/machine/midtunit.cpp
+++ b/src/mame/machine/midtunit.cpp
@@ -546,7 +546,7 @@ WRITE16_MEMBER(midtunit_state::midtunit_sound_w)
case SOUND_ADPCM:
case SOUND_ADPCM_LARGE:
m_adpcm_sound->reset_write(~data & 0x100);
- m_adpcm_sound->write(data & 0xff);
+ m_adpcm_sound->write(space, offset, data & 0xff);
/* the games seem to check for $82 loops, so this should be just barely enough */
m_fake_sound_state = 128;