From 970c312e76c2c3ca721fe6abe7bb4a6ba9533dcf Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 22 Jul 2017 23:33:56 -0500 Subject: [PATCH] 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. --- engines/sci/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index a465dd075424..bf669c9176b6 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; }