summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/amaticmg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/amaticmg.c')
-rw-r--r--src/mame/drivers/amaticmg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/amaticmg.c b/src/mame/drivers/amaticmg.c
index f1348f338a1..80068f424a0 100644
--- a/src/mame/drivers/amaticmg.c
+++ b/src/mame/drivers/amaticmg.c
@@ -413,7 +413,7 @@ static SCREEN_UPDATE_IND16( amaticmg )
static PALETTE_INIT( amaticmg )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int bit0, bit1, bit2 , r, g, b;
int i;
@@ -440,7 +440,7 @@ static PALETTE_INIT( amaticmg )
static PALETTE_INIT( amaticmg3 )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int r, g, b;
int i;