summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pc1403.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/pc1403.c')
-rw-r--r--src/mess/machine/pc1403.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/pc1403.c b/src/mess/machine/pc1403.c
index 8d89b4820fc..ed1b842a44f 100644
--- a/src/mess/machine/pc1403.c
+++ b/src/mess/machine/pc1403.c
@@ -154,7 +154,7 @@ TIMER_CALLBACK_MEMBER(pc1403_state::pc1403_power_up)
DRIVER_INIT_MEMBER(pc1403_state,pc1403)
{
int i;
- UINT8 *gfx=machine().root_device().memregion("gfx1")->base();
+ UINT8 *gfx=memregion("gfx1")->base();
for (i=0; i<128; i++) gfx[i]=i;