Possible fix for bug 1754613, part 2: changed the way compressed digital music is detected

svn-id: r28127
This commit is contained in:
Filippos Karapetis 2007-07-17 18:18:50 +00:00
parent 5b7df04da9
commit 332f74486e

View File

@ -89,7 +89,7 @@ DigitalMusicInputStream::DigitalMusicInputStream(SagaEngine *vm, ResourceContext
_compressedStream = NULL;
if (vm->getFeatures() & GF_COMPRESSED_SOUNDS) {
if (Common::File::exists("music.cmp")) {
// Read compressed header to determine compression type
_file->seek((long)resourceData->offset, SEEK_SET);
_file->read(compressedHeader, 9);