summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/2610intf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/2610intf.c')
-rw-r--r--src/emu/sound/2610intf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/2610intf.c b/src/emu/sound/2610intf.c
index 3c13dfda578..cd64ee811e1 100644
--- a/src/emu/sound/2610intf.c
+++ b/src/emu/sound/2610intf.c
@@ -164,8 +164,8 @@ static DEVICE_START( ym2610 )
pcmbufa = *device->region();
pcmsizea = device->region()->bytes();
name.printf("%s.deltat", device->tag());
- pcmbufb = (void *)(device->machine().region(name)->base());
- pcmsizeb = device->machine().region(name)->bytes();
+ pcmbufb = (void *)(device->machine().root_device().memregion(name)->base());
+ pcmsizeb = device->machine().root_device().memregion(name)->bytes();
if (pcmbufb == NULL || pcmsizeb == 0)
{
pcmbufb = pcmbufa;