summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trvquest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trvquest.c')
-rw-r--r--src/mame/drivers/trvquest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/trvquest.c b/src/mame/drivers/trvquest.c
index 75beeba297d..58f50b47c96 100644
--- a/src/mame/drivers/trvquest.c
+++ b/src/mame/drivers/trvquest.c
@@ -45,7 +45,7 @@ static READ8_HANDLER( trvquest_question_r )
{
gameplan_state *state = space->machine().driver_data<gameplan_state>();
- return space->machine().region("questions")->base()[*state->m_trvquest_question * 0x2000 + offset];
+ return state->memregion("questions")->base()[*state->m_trvquest_question * 0x2000 + offset];
}
static WRITE8_DEVICE_HANDLER( trvquest_coin_w )