summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pachifev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pachifev.c')
-rw-r--r--src/mame/drivers/pachifev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pachifev.c b/src/mame/drivers/pachifev.c
index 9189135f249..f20a01f3dfe 100644
--- a/src/mame/drivers/pachifev.c
+++ b/src/mame/drivers/pachifev.c
@@ -261,7 +261,7 @@ static void pf_adpcm_int(device_t *device)
}
else
{
- UINT8 *ROM = device->machine().region("adpcm")->base();
+ UINT8 *ROM = device->machine().root_device().memregion("adpcm")->base();
state->m_adpcm_data = ((state->m_trigger ? (ROM[state->m_adpcm_pos] & 0x0f) : (ROM[state->m_adpcm_pos] & 0xf0)>>4) );
msm5205_data_w(device,state->m_adpcm_data & 0xf);