summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/thedeep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/thedeep.c')
-rw-r--r--src/mame/video/thedeep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/thedeep.c b/src/mame/video/thedeep.c
index 1ef3449c9ef..3cf24c6b0f1 100644
--- a/src/mame/video/thedeep.c
+++ b/src/mame/video/thedeep.c
@@ -88,7 +88,7 @@ WRITE8_MEMBER(thedeep_state::thedeep_vram_1_w)
PALETTE_INIT( thedeep )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
for (i = 0;i < 512;i++)
palette_set_color_rgb(machine,i,pal4bit(color_prom[0x400 + i] >> 0),pal4bit(color_prom[0x400 + i] >> 4),pal4bit(color_prom[0x200 + i] >> 0));