[Scummvm-git-logs] scummvm master -> 5d65e1dca9fe4fa5e9a24d6d100304c1d6821cf1
Strangerke
noreply at scummvm.org
Sat Feb 11 08:45:52 UTC 2023
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:
5d65e1dca9 EFH: Add delays between repetitive sounds
Commit: 5d65e1dca9fe4fa5e9a24d6d100304c1d6821cf1
https://github.com/scummvm/scummvm/commit/5d65e1dca9fe4fa5e9a24d6d100304c1d6821cf1
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2023-02-11T09:45:44+01:00
Commit Message:
EFH: Add delays between repetitive sounds
Changed paths:
engines/efh/sound.cpp
diff --git a/engines/efh/sound.cpp b/engines/efh/sound.cpp
index 7f611d502a2..a40ddd307a2 100644
--- a/engines/efh/sound.cpp
+++ b/engines/efh/sound.cpp
@@ -208,6 +208,7 @@ void EfhEngine::generateSound(int16 soundType) {
break;
case 9:
generateSound1(20, 888, 500);
+ g_system->delayMillis(100);
generateSound1(20, 888, 500);
break;
case 10:
@@ -259,6 +260,7 @@ void EfhEngine::genericGenerateSound(int16 soundType, int16 repeatCount) {
case 9:
case 10:
generateSound(10);
+ g_system->delayMillis(100);
generateSound(9);
break;
case 14:
@@ -269,6 +271,7 @@ void EfhEngine::genericGenerateSound(int16 soundType, int16 repeatCount) {
case 13:
for (int counter = 0; counter < repeatCount; ++counter) {
generateSound(17);
+ g_system->delayMillis(100);
}
break;
case 15:
More information about the Scummvm-git-logs
mailing list