summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/kaneko16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/kaneko16.c')
-rw-r--r--src/mame/video/kaneko16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/kaneko16.c b/src/mame/video/kaneko16.c
index d6eb6488b63..7520a41c78b 100644
--- a/src/mame/video/kaneko16.c
+++ b/src/mame/video/kaneko16.c
@@ -236,7 +236,7 @@ VIDEO_START( berlwall )
{
kaneko16_state *state = machine.driver_data<kaneko16_state>();
int sx, x,y;
- UINT8 *RAM = machine.region("gfx3")->base();
+ UINT8 *RAM = state->memregion("gfx3")->base();
/* Render the hi-color static backgrounds held in the ROMs */