summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/hcastle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/hcastle.c')
-rw-r--r--src/mame/video/hcastle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/hcastle.c b/src/mame/video/hcastle.c
index be88e388202..26cd538554b 100644
--- a/src/mame/video/hcastle.c
+++ b/src/mame/video/hcastle.c
@@ -11,7 +11,7 @@
PALETTE_INIT( hcastle )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int chip;
/* allocate the colortable */