[Scummvm-git-logs] scummvm branch-2-9 -> 788029eafd992131a56e56d6a37740de80c319ed
AndywinXp
noreply at scummvm.org
Fri Feb 21 20:48:36 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:
788029eafd SWORD1: Fix DOS audio code running on Windows mode
Commit: 788029eafd992131a56e56d6a37740de80c319ed
https://github.com/scummvm/scummvm/commit/788029eafd992131a56e56d6a37740de80c319ed
Author: AndywinXp (andywinxp at gmail.com)
Date: 2025-02-21T21:48:27+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