[Scummvm-git-logs] scummvm master -> 63e2c001bbb0fbc661b1b29b08069fd5b9befc13
AndywinXp
noreply at scummvm.org
Sun May 22 21:57:41 UTC 2022
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:
63e2c001bb SCUMM: LOOM: Add the Steam speech fix as an enhancement for the DOS version
Commit: 63e2c001bbb0fbc661b1b29b08069fd5b9befc13
https://github.com/scummvm/scummvm/commit/63e2c001bbb0fbc661b1b29b08069fd5b9befc13
Author: AndywinXp (andywinxp at gmail.com)
Date: 2022-05-22T23:57:37+02:00
Commit Message:
SCUMM: LOOM: Add the Steam speech fix as an enhancement for the DOS version
Changed paths:
engines/scumm/sound.cpp
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index 292202ca720..9c0646afa9c 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -1409,8 +1409,10 @@ void Sound::startCDTimer() {
// Again as per the interpreters, VAR_MUSIC_TIMER is then updated inside the SCUMM main loop.
int32 interval = 1000000 / _vm->getTimerFrequency();
- // LOOM Steam uses a fixed 240Hz rate
- if (_isLoomSteam)
+ // LOOM Steam uses a fixed 240Hz rate. This was probably done to get rid of some
+ // audio glitches which are confirmed to be in the original. So let's activate this
+ // fix for the DOS version of LOOM as well, if enhancements are enabled.
+ if (_isLoomSteam || (_vm->_game.id == GID_LOOM && _vm->_enableEnhancements))
interval = 1000000 / LOOM_STEAM_CDDA_RATE;
_vm->getTimerManager()->removeTimerProc(&cdTimerHandler);
More information about the Scummvm-git-logs
mailing list