summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/rallyx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/rallyx.c')
-rw-r--r--src/mame/video/rallyx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/rallyx.c b/src/mame/video/rallyx.c
index 17d26099ba0..2a9af17fda6 100644
--- a/src/mame/video/rallyx.c
+++ b/src/mame/video/rallyx.c
@@ -57,7 +57,7 @@ needs more color combination to render its graphics.
PALETTE_INIT( rallyx )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
static const int resistances_rg[3] = { 1000, 470, 220 };
static const int resistances_b [2] = { 470, 220 };
double rweights[3], gweights[3], bweights[2];
@@ -116,7 +116,7 @@ PALETTE_INIT( rallyx )
PALETTE_INIT( jungler )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
static const int resistances_rg[3] = { 1000, 470, 220 };
static const int resistances_b [2] = { 470, 220 };
static const int resistances_star[3] = { 150, 100 };