aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-07-22 23:33:56 -0500
committerColin Snover2017-07-23 10:35:13 -0500
commit970c312e76c2c3ca721fe6abe7bb4a6ba9533dcf (patch)
tree60d0982f8d31c3cb4a896fc97148a9e6a43dd6ee
parent807fecf0f2077885daf4996dce8005f030a7c60a (diff)
downloadscummvm-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.
-rw-r--r--engines/sci/resource.cpp2
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;
}