[Scummvm-git-logs] scummvm master -> 7df014ea6d63c8ebb831fda2aa69401c4544eebc

bonki bonki at users.noreply.github.com
Mon Jul 2 14:46:28 CEST 2018


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:
7df014ea6d SCUMM: Clarify workaround for Venice music in Indy 3 FMTOWNS


Commit: 7df014ea6d63c8ebb831fda2aa69401c4544eebc
    https://github.com/scummvm/scummvm/commit/7df014ea6d63c8ebb831fda2aa69401c4544eebc
Author: Adrian Frühwirth (bonki at users.noreply.github.com)
Date: 2018-07-02T14:45:54+02:00

Commit Message:
SCUMM: Clarify workaround for Venice music in Indy 3 FMTOWNS

Changed paths:
    engines/scumm/players/player_towns.cpp


diff --git a/engines/scumm/players/player_towns.cpp b/engines/scumm/players/player_towns.cpp
index a1add90..41bcf9e 100644
--- a/engines/scumm/players/player_towns.cpp
+++ b/engines/scumm/players/player_towns.cpp
@@ -255,10 +255,16 @@ void Player_Towns_v1::startSound(int sound) {
 		velocity = velocity ? velocity >> 2 : ptr[14] >> 1;
 		uint16 len = READ_LE_UINT16(ptr) + 2;
 		playPcmTrack(sound, ptr + 6, velocity, 64, note ? note : (len > 50 ? ptr[50] : 60), READ_LE_UINT16(ptr + 10));
-
-		// WORKAROUND for bug #1873 INDY3 FMTOWNS: Music in Venice is distorted
-		// The resource for sound 40 accidently sets the sound type to 255 instead of 1.
 	} else if (type == 1 || (_vm->_game.id == GID_INDY3 && sound == 40)) {
+		// WORKAROUND: Indy 3 FMTOWNS: No/distorted music in Venice
+		// The Venice music does not exist as CD audio and the original doesn't feature music
+		// in this scene. It does, however, exist as Euphony track albeit with an odd sound
+		// type (255 instead of 1).
+		// It doesn't sound great but we'll enable it to have music at all in this scene.
+		// See Trac#1873 and Trac#10561.
+		//
+		// TODO: Check if playback of this can be improved somehow (maybe there's something else
+		// off with the data for which we can add a workaround?).
 		playEuphonyTrack(sound, ptr + 6);
 
 	} else if (type == 2) {





More information about the Scummvm-git-logs mailing list