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

sev- noreply at scummvm.org
Sat Jun 13 15:36:23 UTC 2026


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

Summary:
8732f79410 PELROCK: Clarified engine name
802cd10b66 PELROCK: Clarified engine dependenciss
14284726c4 PELROCK: Fix include
5bfc5b7334 PELROCK: Fix warnings. PVS-STudio V560, V575
da5cac58ed PELROCK: Comment out unused variables


Commit: 8732f794106148f3d1f75854a3a66e355891e4ea
    https://github.com/scummvm/scummvm/commit/8732f794106148f3d1f75854a3a66e355891e4ea
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-06-13T17:36:01+02:00

Commit Message:
PELROCK: Clarified engine name

Changed paths:
    engines/pelrock/configure.engine


diff --git a/engines/pelrock/configure.engine b/engines/pelrock/configure.engine
index df86a2957c3..ae99adf616c 100644
--- a/engines/pelrock/configure.engine
+++ b/engines/pelrock/configure.engine
@@ -1,3 +1,3 @@
 # This file is included from the main "configure" script
 # add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] [components]
-add_engine pelrock "Pelrock" yes "" "" "" ""
+add_engine pelrock "Alfred Pelrock" yes "" "" "" ""


Commit: 802cd10b6662f1856b8a10eda2f97ae64ca20ba9
    https://github.com/scummvm/scummvm/commit/802cd10b6662f1856b8a10eda2f97ae64ca20ba9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-06-13T17:36:02+02:00

Commit Message:
PELROCK: Clarified engine dependenciss

Changed paths:
    engines/pelrock/configure.engine


diff --git a/engines/pelrock/configure.engine b/engines/pelrock/configure.engine
index ae99adf616c..f175fe347e0 100644
--- a/engines/pelrock/configure.engine
+++ b/engines/pelrock/configure.engine
@@ -1,3 +1,3 @@
 # This file is included from the main "configure" script
 # add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] [components]
-add_engine pelrock "Alfred Pelrock" yes "" "" "" ""
+add_engine pelrock "Alfred Pelrock" yes "" "" "highres png" ""


Commit: 14284726c420330fd41209b75bafc6a98b380c3f
    https://github.com/scummvm/scummvm/commit/14284726c420330fd41209b75bafc6a98b380c3f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-06-13T17:36:02+02:00

Commit Message:
PELROCK: Fix include

Changed paths:
    engines/pelrock/room.cpp


diff --git a/engines/pelrock/room.cpp b/engines/pelrock/room.cpp
index 894e325a14c..23a69838860 100644
--- a/engines/pelrock/room.cpp
+++ b/engines/pelrock/room.cpp
@@ -23,7 +23,7 @@
 #include "pelrock/pelrock.h"
 #include "pelrock/room.h"
 #include "pelrock/util.h"
-#include "room.h"
+#include "pelrock/room.h"
 
 namespace Pelrock {
 


Commit: 5bfc5b7334cabcb6b733fa12f6900e9449d38d63
    https://github.com/scummvm/scummvm/commit/5bfc5b7334cabcb6b733fa12f6900e9449d38d63
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-06-13T17:36:03+02:00

Commit Message:
PELROCK: Fix warnings. PVS-STudio V560, V575

Changed paths:
    engines/pelrock/sound.cpp


diff --git a/engines/pelrock/sound.cpp b/engines/pelrock/sound.cpp
index b6cdf46135a..5457c06fd11 100644
--- a/engines/pelrock/sound.cpp
+++ b/engines/pelrock/sound.cpp
@@ -204,9 +204,8 @@ int SoundManager::playSound(SonidoFile sound, int channel, int loopCount) {
 
 		uint32 pcmSize = sound.size - headerSize;
 		byte *pcmData = (byte *)malloc(pcmSize);
-		if (!pcmData || !data) {
+		if (!pcmData) {
 			free(data);
-			free(pcmData);
 			return -1;
 		}
 		memcpy(pcmData, data + headerSize, pcmSize);


Commit: da5cac58ed3524bfafb6d1a97cc94edf3b1ee2a1
    https://github.com/scummvm/scummvm/commit/da5cac58ed3524bfafb6d1a97cc94edf3b1ee2a1
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-06-13T17:36:03+02:00

Commit Message:
PELROCK: Comment out unused variables

Changed paths:
    engines/pelrock/room.cpp


diff --git a/engines/pelrock/room.cpp b/engines/pelrock/room.cpp
index 23a69838860..dda7365bb17 100644
--- a/engines/pelrock/room.cpp
+++ b/engines/pelrock/room.cpp
@@ -612,7 +612,7 @@ void RoomManager::resetConversationStates(byte roomNumber, byte *conversationDat
 		debug("Could not open ALFRED.B to reset conversation states!");
 		return;
 	}
-	bool roomDone = false;
+	//bool roomDone = false;
 	while (!alfredB.eos()) {
 		ResetEntry entry;
 		entry.room = alfredB.readUint16LE();
@@ -622,7 +622,7 @@ void RoomManager::resetConversationStates(byte roomNumber, byte *conversationDat
 		alfredB.read(entry.data, entry.dataSize);
 		if (roomNumber < entry.room) {
 			// We've passed the room we care about
-			roomDone = true;
+			//roomDone = true;
 			delete[] entry.data;
 			break;
 		}
@@ -1157,7 +1157,7 @@ void RoomManager::resetMetadataDefaults(byte room, byte *&data, size_t size) {
 	if (!alfred8.open("ALFRED.8")) {
 		error("RoomManager::resetMetadataDefaults(): Couldnt find file ALFRED.8");
 	}
-	bool roomDone = false;
+	//bool roomDone = false;
 	while (!alfred8.eos()) {
 		ResetEntry entry;
 		entry.room = alfred8.readUint16LE();
@@ -1167,7 +1167,7 @@ void RoomManager::resetMetadataDefaults(byte room, byte *&data, size_t size) {
 		alfred8.read(entry.data, entry.dataSize);
 		if (room < entry.room) {
 			// We've passed the room we care about
-			roomDone = true;
+			//roomDone = true;
 			delete[] entry.data;
 			break;
 		}




More information about the Scummvm-git-logs mailing list