summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/fghtbskt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/fghtbskt.c')
-rw-r--r--src/mame/audio/fghtbskt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/audio/fghtbskt.c b/src/mame/audio/fghtbskt.c
index b409791929d..d3ab1ef1229 100644
--- a/src/mame/audio/fghtbskt.c
+++ b/src/mame/audio/fghtbskt.c
@@ -12,7 +12,10 @@ static INT16 *samplebuf;
WRITE8_HANDLER( fghtbskt_samples_w )
{
if( data & 1 )
- sample_start_raw(0, samplebuf + ((data & 0xf0) << 8), 0x2000, 8000, 0);
+ {
+ const device_config *samples = devtag_get_device(space->machine, SOUND, "samples");
+ sample_start_raw(samples, 0, samplebuf + ((data & 0xf0) << 8), 0x2000, 8000, 0);
+ }
}
SAMPLES_START( fghtbskt_sh_start )