summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/zsg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/zsg2.c')
-rw-r--r--src/emu/sound/zsg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/zsg2.c b/src/emu/sound/zsg2.c
index 856fe49ecfe..fa0d05ebd24 100644
--- a/src/emu/sound/zsg2.c
+++ b/src/emu/sound/zsg2.c
@@ -228,7 +228,7 @@ static DEVICE_START( zsg2 )
info->stream = device->machine().sound().stream_alloc(*device, 0, 2, info->sample_rate, info, update_stereo);
- info->bank_samples = device->machine().region(intf->samplergn)->base();
+ info->bank_samples = device->machine().root_device().memregion(intf->samplergn)->base();
}
/**************************************************************************