From e123a2316de66f9296de46ac056b4fe0db406cc7 Mon Sep 17 00:00:00 2001 From: Walter Agazzi Date: Fri, 7 Apr 2023 15:59:01 +0200 Subject: [PATCH] CINE: Check for track 19 instead of track 1 for FW The CD version of Future Wars contains 29 audio tracks, but only the last 11 are used. Checking for track19 instead of track1 allows removal of the unused files without triggering the "missing cd audio" warning. Fixes TRAC #14347 --- engines/cine/cine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index 7e44cdf3a5e..79c426f1c75 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -100,7 +100,7 @@ Common::Error CineEngine::run() { initGraphics(320, 200); if (g_cine->getGameType() == GType_FW && (g_cine->getFeatures() & GF_CD)) { - if (!existExtractedCDAudioFiles() + if (!existExtractedCDAudioFiles(19) // tracks <19 are not used && !isDataAndCDAudioReadFromSameCD()) { warnMissingExtractedCDAudio(); }