summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/snookr10.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/snookr10.c')
-rw-r--r--src/mame/video/snookr10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/snookr10.c b/src/mame/video/snookr10.c
index bc1f5b21df8..bcaf5435b36 100644
--- a/src/mame/video/snookr10.c
+++ b/src/mame/video/snookr10.c
@@ -57,7 +57,7 @@ WRITE8_MEMBER(snookr10_state::snookr10_colorram_w)
PALETTE_INIT( snookr10 )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
/* GGBBBRRR */
int i;
@@ -118,7 +118,7 @@ static TILE_GET_INFO( get_bg_tile_info )
PALETTE_INIT( apple10 )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
/* GGBBBRRR */
int i, cn;