summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/gaelco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/gaelco.c')
-rw-r--r--src/emu/sound/gaelco.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/sound/gaelco.c b/src/emu/sound/gaelco.c
index 036590bf837..5823f3248e4 100644
--- a/src/emu/sound/gaelco.c
+++ b/src/emu/sound/gaelco.c
@@ -195,7 +195,7 @@ READ16_DEVICE_HANDLER( gaelcosnd_r )
{
gaelco_sound_state *info = get_safe_token(device);
- LOG_READ_WRITES(("%s: (GAE1): read from %04x\n", device->machine->describe_context(), offset));
+ LOG_READ_WRITES(("%s: (GAE1): read from %04x\n", device->machine().describe_context(), offset));
return info->sndregs[offset];
}
@@ -209,7 +209,7 @@ WRITE16_DEVICE_HANDLER( gaelcosnd_w )
gaelco_sound_state *info = get_safe_token(device);
gaelco_sound_channel *channel = &info->channel[offset >> 3];
- LOG_READ_WRITES(("%s: (GAE1): write %04x to %04x\n", device->machine->describe_context(), data, offset));
+ LOG_READ_WRITES(("%s: (GAE1): write %04x to %04x\n", device->machine().describe_context(), data, offset));
/* first update the stream to this point in time */
info->stream->update();
@@ -259,8 +259,8 @@ static DEVICE_START( gaelco )
for (j = 0; j < 4; j++){
info->banks[j] = intf->banks[j];
}
- info->stream = device->machine->sound().stream_alloc(*device, 0, 2, 8000, info, gaelco_update);
- info->snd_data = (UINT8 *)device->machine->region(intf->gfxregion)->base();
+ info->stream = device->machine().sound().stream_alloc(*device, 0, 2, 8000, info, gaelco_update);
+ info->snd_data = (UINT8 *)device->machine().region(intf->gfxregion)->base();
if (info->snd_data == NULL)
info->snd_data = *device->region();