summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/naomi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/naomi.c')
-rw-r--r--src/mame/machine/naomi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/naomi.c b/src/mame/machine/naomi.c
index 4257cd7a6b7..863c82f9237 100644
--- a/src/mame/machine/naomi.c
+++ b/src/mame/machine/naomi.c
@@ -87,9 +87,9 @@ static UINT8 asciihex_to_dec(UINT8 in)
static void create_pic_from_retdat(running_machine& machine)
{
{
- UINT8* hexregion = machine.region("pichex")->base();
- UINT8* retregion = machine.region("picreturn")->base();
- UINT8* newregion = machine.region("pic")->base();
+ UINT8* hexregion = machine.root_device().memregion("pichex")->base();
+ UINT8* retregion = machine.root_device().memregion("picreturn")->base();
+ UINT8* newregion = machine.root_device().memregion("pic")->base();
int outcount = 0;
if (hexregion && retregion && newregion)