diff options
author | 2008-12-10 06:31:23 +0000 | |
---|---|---|
committer | 2008-12-10 06:31:23 +0000 | |
commit | e2a760bcbd28caba2f1ef8dca7818e80dd9d4b83 (patch) | |
tree | 011dd4d2928ea6f4aafed569b8d6be0c44f014ca /src/emu/sound/2203intf.c | |
parent | b98c709380e0a52f963d497eb619a90214785a2c (diff) |
From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Tuesday, December 09, 2008 8:13 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add device parameter to stream_create()
Hi mamedev,
This patch adds the sound device to the parameters passed to
stream_create so that the global Machine can be removed from
streams.c. It assumes my previous patch which added CUSTOM_START and
SAMPLES_START has been applied.
~aa
Diffstat (limited to 'src/emu/sound/2203intf.c')
-rw-r--r-- | src/emu/sound/2203intf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/2203intf.c b/src/emu/sound/2203intf.c index 9a198fd86b2..1f887b5a913 100644 --- a/src/emu/sound/2203intf.c +++ b/src/emu/sound/2203intf.c @@ -132,7 +132,7 @@ static SND_START( ym2203 ) info->timer[1] = timer_alloc(device->machine, timer_callback_2203_1, info); /* stream system initialize */ - info->stream = stream_create(0,1,rate,info,ym2203_stream_update); + info->stream = stream_create(device,0,1,rate,info,ym2203_stream_update); /* Initialize FM emurator */ info->chip = ym2203_init(info,device,clock,rate,timer_handler,IRQHandler,&psgintf); |