[Scummvm-git-logs] scummvm master -> 232a44585f5b8aac722e46aeda7247d0252dbc6e

mduggan noreply at scummvm.org
Wed Oct 30 03:16:06 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:
232a44585f DGDS: Clean up debug messages slightly. PVS-Studio V547


Commit: 232a44585f5b8aac722e46aeda7247d0252dbc6e
    https://github.com/scummvm/scummvm/commit/232a44585f5b8aac722e46aeda7247d0252dbc6e
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2024-10-30T14:08:36+11:00

Commit Message:
DGDS: Clean up debug messages slightly. PVS-Studio V547

Changed paths:
    engines/dgds/ads.cpp


diff --git a/engines/dgds/ads.cpp b/engines/dgds/ads.cpp
index 01983d1473e..853540adbae 100644
--- a/engines/dgds/ads.cpp
+++ b/engines/dgds/ads.cpp
@@ -628,11 +628,12 @@ bool ADSInterpreter::handleOperation(uint16 code, Common::SeekableReadStream *sc
 		return true;
 	}
 	case 0x3010: // RANDOM_START, 0 params
-		debug(10, "ADS 0x%04x: random %s", code, code == 0x3010 ? "start" : "end");
+		debug(10, "ADS 0x3010: random start");
 		handleRandomOp(scr);
 		break;
 
 	case 0x30FF: // RANDOM_END, 0 params
+		debug(10, "ADS 0x30FF: random end");
 		error("Unexpected RANDOM END mid-stream (no RANDOM START?).");
 
 	case 0x4000: { // MOVE SEQ TO FRONT




More information about the Scummvm-git-logs mailing list