diff options
author | 2015-11-25 08:22:24 +0100 | |
---|---|---|
committer | 2015-11-25 08:22:24 +0100 | |
commit | 0825ce4f3b8eaab42e3682f7d01d97ce6ea0416d (patch) | |
tree | 24de29ca8cbba68740ec8cd26f15209f19c2bf0b /src/devices/sound/samples.cpp | |
parent | d1d8a66ab196156ab22ba1059d714cd040b44ab6 (diff) |
Cleanups and version bumpmame0168
Diffstat (limited to 'src/devices/sound/samples.cpp')
-rw-r--r-- | src/devices/sound/samples.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/samples.cpp b/src/devices/sound/samples.cpp index 279eada7a1f..6da7dd48f16 100644 --- a/src/devices/sound/samples.cpp +++ b/src/devices/sound/samples.cpp @@ -84,7 +84,7 @@ void samples_device::start(UINT8 channel, UINT32 samplenum, bool loop) chan.stream->update(); // update the parameters - sample_t &sample = m_sample[samplenum]; + sample_t &sample = m_sample[samplenum]; chan.source = (sample.data.size() > 0) ? &sample.data[0] : NULL; chan.source_length = sample.data.size(); chan.source_num = (chan.source_length > 0) ? samplenum : -1; |