[Scummvm-git-logs] scummvm master -> 46ca3865f07e214b0dd20c918c9ddd5e608cae94

digitall 547637+digitall at users.noreply.github.com
Sun Oct 31 18:52:15 UTC 2021


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:
46ca3865f0 AUDIO: (FM-TOWNS): Update Comment on Dead Code


Commit: 46ca3865f07e214b0dd20c918c9ddd5e608cae94
    https://github.com/scummvm/scummvm/commit/46ca3865f07e214b0dd20c918c9ddd5e608cae94
Author: D G Turner (digitall at scummvm.org)
Date: 2021-10-31T18:51:10Z

Commit Message:
AUDIO: (FM-TOWNS): Update Comment on Dead Code

Changed paths:
    audio/softsynth/fmtowns_pc98/towns_euphony.cpp


diff --git a/audio/softsynth/fmtowns_pc98/towns_euphony.cpp b/audio/softsynth/fmtowns_pc98/towns_euphony.cpp
index fed6d4a0e2..732491a043 100644
--- a/audio/softsynth/fmtowns_pc98/towns_euphony.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_euphony.cpp
@@ -246,16 +246,18 @@ void EuphonyPlayer::reset() {
 
 	resetTempo();
 
-	// FIXME: Implement correct code for _tempoControlMode == 1
+	// NB: Original did _tempoControlMode == 1 check here.
+	//     Not required as this was the original driver's offering of
+	//     alternative methods for the timed update calllbacks.
+	//     Not required in the ScummVM implmentation as the outcome is
+	//     identical.
 #if 0
 	if (_tempoControlMode == 1) {
 		if (/*???*/)
 			return;
-		sendTempo(_defaultTempo);
-	} else {
+	}
 #endif
-		sendTempo(_defaultTempo);
-	//}
+	sendTempo(_defaultTempo);
 
 	resetAllControls();
 }




More information about the Scummvm-git-logs mailing list