summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/namcos1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/namcos1.c')
-rw-r--r--src/mame/video/namcos1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/namcos1.c b/src/mame/video/namcos1.c
index 0bcd53cd330..f47d917513d 100644
--- a/src/mame/video/namcos1.c
+++ b/src/mame/video/namcos1.c
@@ -121,7 +121,7 @@ VIDEO_START( namcos1 )
namcos1_state *state = machine.driver_data<namcos1_state>();
int i;
- state->m_tilemap_maskdata = (UINT8 *)machine.region("gfx1")->base();
+ state->m_tilemap_maskdata = (UINT8 *)state->memregion("gfx1")->base();
/* allocate videoram */
state->m_videoram = auto_alloc_array(machine, UINT8, 0x8000);