diff options
Diffstat (limited to 'src/mame/drivers/nexus3d.c')
-rw-r--r-- | src/mame/drivers/nexus3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/nexus3d.c b/src/mame/drivers/nexus3d.c index e28887a85e7..acba9ba6c7b 100644 --- a/src/mame/drivers/nexus3d.c +++ b/src/mame/drivers/nexus3d.c @@ -263,7 +263,7 @@ static DRIVER_INIT( nexus3d ) { nexus3d_state *state = machine.driver_data<nexus3d_state>(); // the first part of the flash ROM automatically gets copied to RAM - memcpy( state->m_mainram, machine.root_device().memregion("user1")->base(), 4 * 1024); + memcpy( state->m_mainram, state->memregion("user1")->base(), 4 * 1024); state->m_flash_region = state->memregion("user1")->base(); } |