summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gotya.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gotya.c')
-rw-r--r--src/mame/video/gotya.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/gotya.c b/src/mame/video/gotya.c
index 902eed85518..5258260ba14 100644
--- a/src/mame/video/gotya.c
+++ b/src/mame/video/gotya.c
@@ -11,7 +11,7 @@
PALETTE_INIT( gotya )
{
- 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];