summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/digdug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/digdug.c')
-rw-r--r--src/mame/video/digdug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/digdug.c b/src/mame/video/digdug.c
index cd1b3bcd7bd..034dd3fd1e6 100644
--- a/src/mame/video/digdug.c
+++ b/src/mame/video/digdug.c
@@ -23,7 +23,7 @@
PALETTE_INIT( digdug )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
machine.colortable = colortable_alloc(machine, 32);
@@ -90,7 +90,7 @@ static TILEMAP_MAPPER( tilemap_scan )
static TILE_GET_INFO( bg_get_tile_info )
{
- UINT8 *rom = machine.region("gfx4")->base();
+ UINT8 *rom = machine.root_device().memregion("gfx4")->base();
digdug_state *state = machine.driver_data<digdug_state>();
int code = rom[tile_index | (state->m_bg_select << 10)];