mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
As far as I can tell / understand, IMuseDigital::getSoundStatus can safely just use isSoundHandleActive for both stream and streamSou (warning: might cause regressions)
svn-id: r30258
This commit is contained in:
parent
8b12998c72
commit
077026e088
@ -294,8 +294,7 @@ int IMuseDigital::getSoundStatus(int sound) const {
|
|||||||
for (int l = 0; l < MAX_DIGITAL_TRACKS; l++) {
|
for (int l = 0; l < MAX_DIGITAL_TRACKS; l++) {
|
||||||
Track *track = _track[l];
|
Track *track = _track[l];
|
||||||
if (track->soundId == sound) {
|
if (track->soundId == sound) {
|
||||||
if ((track->streamSou && _mixer->isSoundHandleActive(track->mixChanHandle)) ||
|
if (_mixer->isSoundHandleActive(track->mixChanHandle)) {
|
||||||
(track->stream && !track->stream->endOfStream())) {
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user