aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index f0797f4712..ea0a248b36 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1267,7 +1267,6 @@ int ScummEngine::readSoundResource(int type, int idx) {
case MKID('Mac1'):
case MKID('RIFF'):
- case MKID('HSHD'):
case MKID('TALK'):
case MKID('DIGI'):
case MKID('Crea'):
@@ -1279,6 +1278,15 @@ int ScummEngine::readSoundResource(int type, int idx) {
//dumpResource("sound-", idx, ptr);
return 1;
+ case MKID('HSHD'):
+ // HE sound type without SOUN header
+ _fileHandle->seek(-16, SEEK_CUR);
+ total_size = max_total_size + 8;
+ ptr = res.createResource(type, idx, total_size);
+ _fileHandle->read(ptr, total_size - 8);
+ //dumpResource("sound-", idx, ptr);
+ return 1;
+
case MKID('FMUS'): {
// Used in 3DO version of puttputt joins the parade and probably others
// Specifies a separate file to be used for music from what I gather.