summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m72.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/m72.c')
-rw-r--r--src/mame/drivers/m72.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/m72.c b/src/mame/drivers/m72.c
index 5e2a410d422..b5883f1466f 100644
--- a/src/mame/drivers/m72.c
+++ b/src/mame/drivers/m72.c
@@ -437,9 +437,10 @@ static int find_sample(int num)
static INTERRUPT_GEN(fake_nmi)
{
m72_state *state = device->machine().driver_data<m72_state>();
- int sample = m72_sample_r(state->m_audio,0);
+ address_space &space = state->generic_space();
+ int sample = m72_sample_r(state->m_audio,space,0);
if (sample)
- m72_sample_w(state->m_audio,0,sample);
+ m72_sample_w(state->m_audio,space,0,sample);
}