summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/itech32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/itech32.c')
-rw-r--r--src/mame/video/itech32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/itech32.c b/src/mame/video/itech32.c
index f862a7f42e9..b7727f0e689 100644
--- a/src/mame/video/itech32.c
+++ b/src/mame/video/itech32.c
@@ -184,7 +184,7 @@ VIDEO_START( itech32 )
state->m_videoplane[0][i] = state->m_videoplane[1][i] = 0xff;
/* fetch the GROM base */
- state->m_grom_base = machine.root_device().memregion("gfx1")->base();
+ state->m_grom_base = state->memregion("gfx1")->base();
state->m_grom_size = state->memregion("gfx1")->bytes();
state->m_grom_bank = 0;
state->m_grom_bank_mask = state->m_grom_size >> 24;