summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/segaic16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/segaic16.c')
-rw-r--r--src/mame/video/segaic16.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/segaic16.c b/src/mame/video/segaic16.c
index 159c07ba42b..e5d7ffe422c 100644
--- a/src/mame/video/segaic16.c
+++ b/src/mame/video/segaic16.c
@@ -1412,8 +1412,8 @@ WRITE16_HANDLER( segaic16_textram_0_w )
static void segaic16_road_hangon_decode(running_machine &machine, struct road_info *info)
{
int x, y;
- const UINT8 *gfx = machine.region("gfx3")->base();
- int len = machine.region("gfx3")->bytes();
+ const UINT8 *gfx = machine.root_device().memregion("gfx3")->base();
+ int len = machine.root_device().memregion("gfx3")->bytes();
/* allocate memory for the unpacked road data */
info->gfx = auto_alloc_array(machine, UINT8, 256 * 512);
@@ -1673,8 +1673,8 @@ static void segaic16_road_hangon_draw(struct road_info *info, bitmap_ind16 &bitm
static void segaic16_road_outrun_decode(running_machine &machine, struct road_info *info)
{
int x, y;
- const UINT8 *gfx = machine.region("gfx3")->base();
- int len = machine.region("gfx3")->bytes();
+ const UINT8 *gfx = machine.root_device().memregion("gfx3")->base();
+ int len = machine.root_device().memregion("gfx3")->bytes();
/* allocate memory for the unpacked road data */
info->gfx = auto_alloc_array(machine, UINT8, (256 * 2 + 1) * 512);