summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/naughtyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/naughtyb.c')
-rw-r--r--src/mame/video/naughtyb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/naughtyb.c b/src/mame/video/naughtyb.c
index 781b700a5d2..1307856a6c3 100644
--- a/src/mame/video/naughtyb.c
+++ b/src/mame/video/naughtyb.c
@@ -58,7 +58,7 @@ static const res_net_info naughtyb_net_info =
PALETTE_INIT( naughtyb )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
static const int resistances[2] = { 270, 130 };
double weights[2];
int i;