mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Don't warn if 3m9.wav is missing. It always is.
svn-id: r19573
This commit is contained in:
parent
107a5d5b55
commit
fa5af9ce6d
@ -149,10 +149,8 @@ bool MusicHandle::play(const char *fileBase, bool loop) {
|
||||
sprintf(fileName, "%s.wav", fileBase);
|
||||
if (_file.open(fileName))
|
||||
_musicMode = MusicWave;
|
||||
else {
|
||||
warning("Music file %s could not be opened", fileName);
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
_audioSource = createAudioSource();
|
||||
_looping = loop;
|
||||
@ -329,6 +327,9 @@ void Music::startMusic(int32 tuneId, int32 loopFlag) {
|
||||
_mutex.lock();
|
||||
_converter[newStream] = Audio::makeRateConverter(_handles[newStream].getRate(), _mixer->getOutputRate(), _handles[newStream].isStereo(), false);
|
||||
_mutex.unlock();
|
||||
} else {
|
||||
if (tuneId != 81) // file 81 was apparently removed from BS.
|
||||
warning("Can't find music file %s", _tuneList[tuneId]);
|
||||
}
|
||||
} else {
|
||||
_mutex.lock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user