mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
Possible fix for bug 1754613, part 2: changed the way compressed digital music is detected
svn-id: r28127
This commit is contained in:
parent
5b7df04da9
commit
332f74486e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user