diff options
author | Paweł Kołodziejski | 2008-01-14 20:35:58 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2008-01-14 20:35:58 +0000 |
commit | 6992238026e7459207b83b280e1420a7eea4ab0c (patch) | |
tree | 5c07a982405ddbac4945b284f7499d6120ced50b /engines/scumm/imuse_digi/dimuse_track.cpp | |
parent | c36b44878a9cf1b487438eea16a65b9efb2a1387 (diff) | |
download | scummvm-rg350-6992238026e7459207b83b280e1420a7eea4ab0c.tar.gz scummvm-rg350-6992238026e7459207b83b280e1420a7eea4ab0c.tar.bz2 scummvm-rg350-6992238026e7459207b83b280e1420a7eea4ab0c.zip |
experimental force flush fade track if it's in use
svn-id: r30487
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_track.cpp')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp index 984bb3b6f4..5063f36f3e 100644 --- a/engines/scumm/imuse_digi/dimuse_track.cpp +++ b/engines/scumm/imuse_digi/dimuse_track.cpp @@ -328,8 +328,8 @@ IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDel } if (_track[track->trackId + MAX_DIGITAL_TRACKS]->used) { - warning("IMuseDigital::cloneToFadeOutTrack: No free fade track"); - return NULL; + warning("IMuseDigital::cloneToFadeOutTrack: No free fade track, force flush"); + flushTrack(_track[track->trackId + MAX_DIGITAL_TRACKS]); } fadeTrack = _track[track->trackId + MAX_DIGITAL_TRACKS]; |