aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index ea0a248b36..158beaafe5 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1283,7 +1283,7 @@ int ScummEngine::readSoundResource(int type, int idx) {
_fileHandle->seek(-16, SEEK_CUR);
total_size = max_total_size + 8;
ptr = res.createResource(type, idx, total_size);
- _fileHandle->read(ptr, total_size - 8);
+ _fileHandle->read(ptr, total_size);
//dumpResource("sound-", idx, ptr);
return 1;