[Scummvm-git-logs] scummvm master -> 1457132c0c9d0a0cdd7d9df3ae830250ebad9e86

mduggan noreply at scummvm.org
Wed Nov 6 22:41:10 UTC 2024


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

Summary:
ef4b64f0ac DGDS: Reduce logging verbosity a bit
1457132c0c DGDS: Add RotD 720k EGA version


Commit: ef4b64f0ace99aee3bf94f525992393915463dd3
    https://github.com/scummvm/scummvm/commit/ef4b64f0ace99aee3bf94f525992393915463dd3
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2024-11-07T09:35:01+11:00

Commit Message:
DGDS: Reduce logging verbosity a bit

Changed paths:
    engines/dgds/ads.cpp
    engines/dgds/sound.cpp
    engines/dgds/ttm.cpp


diff --git a/engines/dgds/ads.cpp b/engines/dgds/ads.cpp
index 8d5c3bdbb95..1c395c2d950 100644
--- a/engines/dgds/ads.cpp
+++ b/engines/dgds/ads.cpp
@@ -186,7 +186,7 @@ void ADSInterpreter::findUsedSequencesForSegment(int idx) {
 						}
 					}
 					if (!already_added) {
-						debug("ADS seg no %d (idx %d) uses seq %d %d", segno, idx, envno, seqno);
+						debug(10, "ADS seg no %d (idx %d) uses seq %d %d", segno, idx, envno, seqno);
 						_adsData->_usedSeqs[idx].push_back(seq);
 					}
 				}
diff --git a/engines/dgds/sound.cpp b/engines/dgds/sound.cpp
index 2db463f373d..3484cdb929e 100644
--- a/engines/dgds/sound.cpp
+++ b/engines/dgds/sound.cpp
@@ -463,7 +463,7 @@ void Sound::processInitSound(uint32 obj, const SoundData &data, Audio::Mixer::So
 	newSound->volume = MUSIC_VOLUME_DEFAULT;
 	newSound->reverb = -1;	// initialize to SCI invalid, it'll be set correctly in soundInitSnd() below
 
-	debug("processInitSound: %08x number %d, loop %d, prio %d, vol %d", obj,
+	debug(10, "processInitSound: %08x number %d, loop %d, prio %d, vol %d", obj,
 			obj, newSound->loop, newSound->priority, newSound->volume);
 
 	initSoundResource(newSound, data, soundType);
@@ -562,7 +562,7 @@ void Sound::processPlaySound(uint32 obj, bool playBed, bool restoring, const Sou
 	musicSlot->playBed = playBed;
 	musicSlot->volume = MUSIC_VOLUME_DEFAULT;
 
-	debug("processPlaySound: %08x number %d, sz %d, loop %d, prio %d, vol %d, bed %d", obj,
+	debug(10, "processPlaySound: %08x number %d, sz %d, loop %d, prio %d, vol %d, bed %d", obj,
 			resourceId, data._size, musicSlot->loop, musicSlot->priority, musicSlot->volume, playBed ? 1 : 0);
 
 	_music->soundPlay(musicSlot, restoring);
diff --git a/engines/dgds/ttm.cpp b/engines/dgds/ttm.cpp
index 821ed91879d..9944a8d7fbd 100644
--- a/engines/dgds/ttm.cpp
+++ b/engines/dgds/ttm.cpp
@@ -836,6 +836,11 @@ void TTMInterpreter::handleOperation(TTMEnviro &env, TTMSeq &seq, uint16 op, byt
 		env._getPuts[seq._currentGetPutId]._surf.reset(surf);
 		break;
 	}
+	case 0x5000:
+		// This opcode does nothing in SQ5 demo
+		debug("TTM: 0x5000: Implement opcode? (%d %d %d %d %d)",
+				ivals[0], ivals[1], ivals[2], ivals[3], ivals[4]);
+		break;
 	case 0xa000: // DRAW PIXEL x,y:int
 		if (seq._drawWin.contains(ivals[0], ivals[1]))
 			_vm->_compositionBuffer.setPixel(ivals[0], ivals[1], seq._drawColFG);


Commit: 1457132c0c9d0a0cdd7d9df3ae830250ebad9e86
    https://github.com/scummvm/scummvm/commit/1457132c0c9d0a0cdd7d9df3ae830250ebad9e86
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2024-11-07T09:40:07+11:00

Commit Message:
DGDS: Add RotD 720k EGA version

This fixes #1442

Changed paths:
    engines/dgds/detection_tables.h


diff --git a/engines/dgds/detection_tables.h b/engines/dgds/detection_tables.h
index 3b3cf584d3c..ddefeee243f 100644
--- a/engines/dgds/detection_tables.h
+++ b/engines/dgds/detection_tables.h
@@ -97,6 +97,21 @@ static const ADGameDescription gameDescriptions[] = {
 		GUIO1(GUIO_NONE)
 	},
 
+	// Rise of the Dragon (PC) 16 Color, 720kB disks (reported by ns394, #15442)
+	{
+		"rise",
+		"EGA",
+		{
+			{"volume.ega", 0, "3e4d62eb36fa5c8ca60e5cf59a307798", 6361},
+			{"volume.001", 0, "69dd06efe5bb562f4e1b094c5d043d93", 524553},
+			AD_LISTEND
+		},
+		Common::EN_ANY,
+		Common::kPlatformDOS,
+		ADGF_TESTING,
+		GUIO1(GUIO_NONE)
+	},
+
 	// Rise of the Dragon (Amiga)
 	{
 		"rise",




More information about the Scummvm-git-logs mailing list