[Scummvm-git-logs] scummvm master -> e123a2316de66f9296de46ac056b4fe0db406cc7

tag2015 noreply at scummvm.org
Fri Apr 7 14:07:05 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e123a2316d CINE: Check for track 19 instead of track 1 for FW


Commit: e123a2316de66f9296de46ac056b4fe0db406cc7
    https://github.com/scummvm/scummvm/commit/e123a2316de66f9296de46ac056b4fe0db406cc7
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2023-04-07T16:06:50+02:00

Commit Message:
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

Changed paths:
    engines/cine/cine.cpp


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();
 		}




More information about the Scummvm-git-logs mailing list