summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/metalmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/metalmx.c')
-rw-r--r--src/mame/drivers/metalmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/metalmx.c b/src/mame/drivers/metalmx.c
index 42a41f445ea..da4ec0e88b8 100644
--- a/src/mame/drivers/metalmx.c
+++ b/src/mame/drivers/metalmx.c
@@ -770,7 +770,7 @@ MACHINE_CONFIG_END
static DRIVER_INIT( metalmx )
{
- UINT8 *adsp_boot = (UINT8*)machine.region("adsp")->base();
+ UINT8 *adsp_boot = (UINT8*)machine.root_device().memregion("adsp")->base();
metalmx_state *state = machine.driver_data<metalmx_state>();
state->m_adsp->load_boot_data(adsp_boot, state->m_adsp_internal_program_ram);