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/c140.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/c140.c')
-rw-r--r-- | src/emu/sound/c140.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/c140.c b/src/emu/sound/c140.c index fe28a96afac..a585c896513 100644 --- a/src/emu/sound/c140.c +++ b/src/emu/sound/c140.c @@ -466,7 +466,7 @@ static SND_START( c140 ) info->banking_type = intf->banking_type; - info->stream = stream_create(0,2,info->sample_rate,info,update_stereo); + info->stream = stream_create(device,0,2,info->sample_rate,info,update_stereo); info->pRom=device->region; |