diff options
Diffstat (limited to 'src/mame/drivers/skyfox.c')
-rw-r--r-- | src/mame/drivers/skyfox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/skyfox.c b/src/mame/drivers/skyfox.c index 52bc699d282..4a9c301262d 100644 --- a/src/mame/drivers/skyfox.c +++ b/src/mame/drivers/skyfox.c @@ -432,8 +432,8 @@ ROM_END /* Untangle the graphics: cut each 32x32x8 tile in 16 8x8x8 tiles */ static DRIVER_INIT( skyfox ) { - UINT8 *RAM = machine.region("gfx1")->base(); - UINT8 *end = RAM + machine.region("gfx1")->bytes(); + UINT8 *RAM = machine.root_device().memregion("gfx1")->base(); + UINT8 *end = RAM + machine.root_device().memregion("gfx1")->bytes(); UINT8 buf[32 * 32]; while (RAM < end) |