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

AndywinXp noreply at scummvm.org
Fri Feb 21 20:47:06 UTC 2025


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:
a434c723ca SWORD1: Fix DOS audio code running on Windows mode


Commit: a434c723ca1e8b674065f78544c029579b63907d
    https://github.com/scummvm/scummvm/commit/a434c723ca1e8b674065f78544c029579b63907d
Author: AndywinXp (andywinxp at gmail.com)
Date: 2025-02-21T21:47:00+01:00

Commit Message:
SWORD1: Fix DOS audio code running on Windows mode

Fixes #15717
"SWORD1: Audio balance issue with the audio
engine from the Windows executable option"

Changed paths:
    engines/sword1/sound.cpp


diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp
index 5834d25fa2c..eae8834e503 100644
--- a/engines/sword1/sound.cpp
+++ b/engines/sword1/sound.cpp
@@ -828,7 +828,10 @@ int32 Sound::checkSpeechStatus() {
 
 	if (!_mixer->isSoundHandleActive(_hSampleSpeech)) {
 		_speechSampleBusy = 0;
-		restoreMusicVolume();
+
+		if (!SwordEngine::_systemVars.useWindowsAudioMode)
+			restoreMusicVolume();
+
 		return S_STATUS_FINISHED;
 	}
 




More information about the Scummvm-git-logs mailing list