[Scummvm-git-logs] scummvm master -> 4ae5f60a53daaf76909a255398b1419ab9d15124

kelmer44 noreply at scummvm.org
Fri Jun 5 11:08:34 UTC 2026


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

Summary:
4ae5f60a53 PELROCK: Add alternate paths for intro files


Commit: 4ae5f60a53daaf76909a255398b1419ab9d15124
    https://github.com/scummvm/scummvm/commit/4ae5f60a53daaf76909a255398b1419ab9d15124
Author: kelmer (kelmer at gmail.com)
Date: 2026-06-05T13:08:26+02:00

Commit Message:
PELROCK: Add alternate paths for intro files

Changed paths:
    engines/pelrock/video.cpp


diff --git a/engines/pelrock/video.cpp b/engines/pelrock/video.cpp
index e506d936974..2fed22ef082 100644
--- a/engines/pelrock/video.cpp
+++ b/engines/pelrock/video.cpp
@@ -39,7 +39,7 @@ VideoManager::VideoManager(
 	SoundManager *sound) : _screen(screen), _events(events), _chrono(chrono), _largeFont(largeFont), _dialog(dialog), _sound(sound) {
 	_videoSurface.create(640, 400, Graphics::PixelFormat::createFormatCLUT8());
 	_textSurface.create(640, 400, Graphics::PixelFormat::createFormatCLUT8());
-	if (!_introSndFile.open("introsnd.dat")) {
+	if (!_introSndFile.open("introsnd.dat") && !_introSndFile.open("DATA/introsnd.dat")) {
 		error("VideoManager::VideoManager(): Could not open introsnd.dat");
 	}
 }
@@ -53,7 +53,7 @@ VideoManager::~VideoManager() {
 void VideoManager::playIntro() {
 	initMetadata();
 	Common::File videoFile;
-	if (!videoFile.open("ESCENAX.SSN")) {
+	if (!videoFile.open("ESCENAX.SSN") && !videoFile.open("DATA/ESCENAX.SSN")) {
 		error("VideoManager::playIntro(): Could not open ESCENAX.SSN");
 		return;
 	}
@@ -264,7 +264,7 @@ void VideoManager::presentFrame() {
 
 void VideoManager::initMetadata() {
 	Common::File metadataFile;
-	if (!metadataFile.open("ESCENAX.SCR")) {
+	if (!metadataFile.open("ESCENAX.SCR") && !metadataFile.open("DATA/ESCENAX.SCR")) {
 		error("VideoManager::initMetadata(): Could not open ESCENAX.SCR");
 		return;
 	}




More information about the Scummvm-git-logs mailing list