[Scummvm-git-logs] scummvm master -> 594e4ff599d8c52f1c1eb6d65ab570f27584ea54
kelmer44
noreply at scummvm.org
Fri Oct 3 07:57:17 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
594e4ff599 TOT: Fixes crash when replaying sound
Commit: 594e4ff599d8c52f1c1eb6d65ab570f27584ea54
https://github.com/scummvm/scummvm/commit/594e4ff599d8c52f1c1eb6d65ab570f27584ea54
Author: kelmer (kelmer at gmail.com)
Date: 2025-10-03T09:57:07+02:00
Commit Message:
TOT: Fixes crash when replaying sound
Changed paths:
engines/tot/sound.cpp
diff --git a/engines/tot/sound.cpp b/engines/tot/sound.cpp
index c80c57ad21e..b3f682d9d92 100644
--- a/engines/tot/sound.cpp
+++ b/engines/tot/sound.cpp
@@ -104,6 +104,7 @@ void SoundManager::playVoc() {
}
void SoundManager::playVoc(Common::String vocFile, int32 startPos, uint vocSize) {
+ stopVoc();
loadVoc(vocFile, startPos, vocSize);
playVoc();
}
More information about the Scummvm-git-logs
mailing list