summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/stvvdp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/stvvdp2.c')
-rw-r--r--src/mame/video/stvvdp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c
index 771c2d13e5e..9dfd990969c 100644
--- a/src/mame/video/stvvdp2.c
+++ b/src/mame/video/stvvdp2.c
@@ -6839,7 +6839,7 @@ static void stv_dump_ram()
fp=fopen("68k.dmp", "w+b");
if (fp)
{
- fwrite(machine.region(REGION_CPU3)->base(), 0x100000, 1, fp);
+ fwrite(machine.root_device().memregion(REGION_CPU3)->base(), 0x100000, 1, fp);
fclose(fp);
}
}