summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-01-12 06:54:57 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-01-12 06:54:57 +0000
commit470f843262139e7bbfbf3c48649b84c3e0357ce6 (patch)
treec2dc37998e3ac8fee68e017dc52c5c7a18f42f36 /src/emu/sound.c
parent46b81c390e347598bc3051ceb69a968f1cc2735d (diff)
Within src/emu, basic conversions:
devtag_get_device ... machine->device() memory_find_address_space ... device->space()
Diffstat (limited to 'src/emu/sound.c')
-rw-r--r--src/emu/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound.c b/src/emu/sound.c
index fdc627866af..322a3795eb1 100644
--- a/src/emu/sound.c
+++ b/src/emu/sound.c
@@ -436,7 +436,7 @@ static void route_sound(running_machine *machine)
/* iterate over all routes */
for (route = config->routelist; route != NULL; route = route->next)
{
- const device_config *target_device = devtag_get_device(machine, route->target);
+ const device_config *target_device = machine->device(route->target);
/* if neither found, it's fatal */
if (target_device == NULL)
@@ -473,7 +473,7 @@ static void route_sound(running_machine *machine)
/* iterate over all routes */
for (route = config->routelist; route != NULL; route = route->next)
{
- const device_config *target_device = devtag_get_device(machine, route->target);
+ const device_config *target_device = machine->device(route->target);
int inputnum = route->input;
sound_stream *stream;
int streamoutput;