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