summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/pacman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/pacman.c')
-rw-r--r--src/mame/video/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/pacman.c b/src/mame/video/pacman.c
index f208e96d0c7..c483ae227da 100644
--- a/src/mame/video/pacman.c
+++ b/src/mame/video/pacman.c
@@ -63,7 +63,7 @@
PALETTE_INIT( pacman )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
static const int resistances[3] = { 1000, 470, 220 };
double rweights[3], gweights[3], bweights[2];
int i;