summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/portrait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/portrait.c')
-rw-r--r--src/mame/video/portrait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/portrait.c b/src/mame/video/portrait.c
index 72e6edfde79..f533a910041 100644
--- a/src/mame/video/portrait.c
+++ b/src/mame/video/portrait.c
@@ -77,9 +77,9 @@ VIDEO_START( portrait )
PALETTE_INIT( portrait )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
- UINT8* lookup = machine.region("tileattr")->base();
+ UINT8* lookup = machine.root_device().memregion("tileattr")->base();
/* allocate the colortable */
machine.colortable = colortable_alloc(machine, 0x40);