aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2017-02-02 23:31:50 +0100
committerStrangerke2017-02-02 23:31:50 +0100
commit1ac62705312a1699a853be6c500ead7c07651538 (patch)
tree85cdb28c0c6ce89f49ac4f947015dd29ac04c298 /engines
parentdec6b171a6f0e290bcd70939cce92dc7128bd513 (diff)
downloadscummvm-rg350-1ac62705312a1699a853be6c500ead7c07651538.tar.gz
scummvm-rg350-1ac62705312a1699a853be6c500ead7c07651538.tar.bz2
scummvm-rg350-1ac62705312a1699a853be6c500ead7c07651538.zip
CRYO: Remove some commented code
Diffstat (limited to 'engines')
-rw-r--r--engines/cryo/eden.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index a9ee626fe8..171a11d9c5 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -4536,8 +4536,8 @@ void EdenGame::verifh(byte *ptr) {
debug("* Begin unpacking resource");
head -= 6;
uint16 h0 = READ_LE_UINT16(head);
- head += 2;
- /*char unused = * */head++;
+ // 3 = 2 bytes for the uint16 and 1 byte for an unused char
+ head += 3;
uint16 h3 = READ_LE_UINT16(head);
head += 2;
byte *data = h0 + head + 26;
@@ -4702,8 +4702,6 @@ int EdenGame::loadSound(uint16 num) {
if (chunkType == 5) {
_bigfile.read(_gameLipsync + 7260, chunkLen);
-// _animBufferPtr = _gameLipsync + 7260 + 2;
-
chunkType = _bigfile.readByte();
_bigfile.read(&val, 3);
chunkLen = LE32(val);
@@ -4711,7 +4709,7 @@ int EdenGame::loadSound(uint16 num) {
// 3. Normal sound data
if (chunkType == 1) {
- /*uint8 freq = */_bigfile.readUint16LE();
+ _bigfile.readUint16LE();
size = chunkLen - 2;
_bigfile.read(_voiceSamplesBuffer, size);
}