diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/sound/base_sound_buffer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/base/sound/base_sound_buffer.cpp b/engines/wintermute/base/sound/base_sound_buffer.cpp index bb4d5ba375..e2d9c8c13f 100644 --- a/engines/wintermute/base/sound/base_sound_buffer.cpp +++ b/engines/wintermute/base/sound/base_sound_buffer.cpp @@ -102,6 +102,7 @@ bool BaseSoundBuffer::loadFromFile(const Common::String &filename, bool forceRel return STATUS_FAILED;
}
Common::String strFilename(filename);
+ strFilename.toLowercase();
if (strFilename.hasSuffix(".ogg")) {
_stream = Audio::makeVorbisStream(_file, DisposeAfterUse::YES);
} else if (strFilename.hasSuffix(".wav")) {
|