mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Possible fix for bug 1754613. It's now possible to have an uncompressed music.rsc file when the rest of the data files are compressed
svn-id: r28126
This commit is contained in:
parent
91426f82c6
commit
5b7df04da9
@ -427,14 +427,14 @@ bool Resource::createContexts() {
|
||||
if (Common::File::exists("music.rsc") || Common::File::exists("music.cmp")) {
|
||||
_contextsCount++;
|
||||
digitalMusic = true;
|
||||
if (_vm->getFeatures() & GF_COMPRESSED_SOUNDS)
|
||||
if (Common::File::exists("music.cmp"))
|
||||
sprintf(musicFileName, "music.cmp");
|
||||
else
|
||||
sprintf(musicFileName, "music.rsc");
|
||||
} else if (Common::File::exists("musicd.rsc") || Common::File::exists("musicd.cmp")) {
|
||||
_contextsCount++;
|
||||
digitalMusic = true;
|
||||
if (_vm->getFeatures() & GF_COMPRESSED_SOUNDS)
|
||||
if (Common::File::exists("musicd.rsc"))
|
||||
sprintf(musicFileName, "musicd.cmp");
|
||||
else
|
||||
sprintf(musicFileName, "musicd.rsc");
|
||||
|
Loading…
Reference in New Issue
Block a user