[Scummvm-git-logs] scummvm branch-2-9 -> 7ec1e3a655eb34e1fd6e8e33e43dc072832001ba

eriktorbjorn noreply at scummvm.org
Fri Dec 6 21:16:43 UTC 2024


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:
7ec1e3a655 SWORD1: Fix playing the intro in the PS1 demo version


Commit: 7ec1e3a655eb34e1fd6e8e33e43dc072832001ba
    https://github.com/scummvm/scummvm/commit/7ec1e3a655eb34e1fd6e8e33e43dc072832001ba
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-12-06T22:16:03+01:00

Commit Message:
SWORD1: Fix playing the intro in the PS1 demo version

Changed paths:
    engines/sword1/animation.cpp


diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index f0a24451df1..ef8362604af 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -521,7 +521,7 @@ MoviePlayer *makeMoviePlayer(uint32 id, SwordEngine *vm, Text *textMan, ResMan *
 	// For the PSX version, we'll try the PlayStation stream files
 	if (vm->isPsx()) {
 		// The demo uses the normal file names for the intro cutscene
-		filename = ((vm->_systemVars.isDemo && id == 4) ? Common::Path("intro") : Common::Path(Common::String(sequenceListPSX[id]) + ".str"));
+		filename = ((vm->_systemVars.isDemo && id == 4) ? Common::Path("intro.str") : Common::Path(Common::String(sequenceListPSX[id]) + ".str"));
 
 		if (Common::File::exists(filename)) {
 #ifdef USE_RGB_COLOR




More information about the Scummvm-git-logs mailing list