summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/1942.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/1942.c')
-rw-r--r--src/mame/video/1942.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/1942.c b/src/mame/video/1942.c
index 184e84bbf69..7b274d6d736 100644
--- a/src/mame/video/1942.c
+++ b/src/mame/video/1942.c
@@ -26,7 +26,7 @@
PALETTE_INIT( 1942 )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
rgb_t palette[256];
int i, colorbase;