aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-02-25 18:15:09 -0600
committerColin Snover2017-04-23 13:07:25 -0500
commit36cb241b8e41f2268315a847011cd143dd16d47a (patch)
tree12bb2a65bbb829e311983587a90e8f5b6461a1e5 /engines
parentf3db412d6f3dd90893eb90a084491b90acdddc9e (diff)
downloadscummvm-rg350-36cb241b8e41f2268315a847011cd143dd16d47a.tar.gz
scummvm-rg350-36cb241b8e41f2268315a847011cd143dd16d47a.tar.bz2
scummvm-rg350-36cb241b8e41f2268315a847011cd143dd16d47a.zip
SCI32: Remove unused code branch
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/video/robot_decoder.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sci/video/robot_decoder.cpp b/engines/sci/video/robot_decoder.cpp
index 6a4e912218..4d62b51b47 100644
--- a/engines/sci/video/robot_decoder.cpp
+++ b/engines/sci/video/robot_decoder.cpp
@@ -401,12 +401,6 @@ void RobotDecoder::initAudio() {
_audioRecordInterval = RobotAudioStream::kRobotSampleRate / _frameRate;
- // TODO: Might actually be for all games newer than Lighthouse; check to
- // see which games have this condition.
- if (g_sci->getGameId() != GID_LIGHTHOUSE && !(_audioRecordInterval & 1)) {
- ++_audioRecordInterval;
- }
-
_expectedAudioBlockSize = _audioBlockSize - kAudioBlockHeaderSize;
_audioBuffer = (byte *)realloc(_audioBuffer, kRobotZeroCompressSize + _expectedAudioBlockSize);