diff options
author | Colin Snover | 2017-07-22 23:33:56 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-23 10:35:13 -0500 |
commit | 970c312e76c2c3ca721fe6abe7bb4a6ba9533dcf (patch) | |
tree | 60d0982f8d31c3cb4a896fc97148a9e6a43dd6ee /engines/sci | |
parent | 807fecf0f2077885daf4996dce8005f030a7c60a (diff) | |
download | scummvm-rg350-970c312e76c2c3ca721fe6abe7bb4a6ba9533dcf.tar.gz scummvm-rg350-970c312e76c2c3ca721fe6abe7bb4a6ba9533dcf.tar.bz2 scummvm-rg350-970c312e76c2c3ca721fe6abe7bb4a6ba9533dcf.zip |
SCI32: Detect multi-disc audio by RESSCI files instead of RESAUD
If a user fails to rename audio files in the required manner when
copying them, detecting multi-disc audio by looking for a renamed
audio file does not work very well. Looking at RESSCI.00n is a
better choice, though this is not completely valid since e.g.
Rama 1.0 US has only one RESOURCE.SFX volume which its installer
copies to the hard drive, so a little more work will need to be
done in the future to find and fix these kinds of edge cases.
Refs Trac#9976.
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index a465dd0754..bf669c9176 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -645,7 +645,7 @@ int ResourceManager::addAppropriateSources() { if (mapFiles.empty() || files.empty()) return 0; - if (Common::File::exists("resaud.001")) { + if (Common::File::exists("ressci.001")) { _multiDiscAudio = true; } |