diff options
author | Jussi Pitkanen | 2011-06-12 16:52:44 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2011-08-13 23:26:41 +0100 |
commit | 1507fe4e792528244fe3c8d1a9ae45ac40936efe (patch) | |
tree | ed337868a81d97a2140bdd030f7289d02151b442 /engines/agi | |
parent | d8e1b392d2abfb67c1877aa4b3be310303250523 (diff) | |
download | scummvm-rg350-1507fe4e792528244fe3c8d1a9ae45ac40936efe.tar.gz scummvm-rg350-1507fe4e792528244fe3c8d1a9ae45ac40936efe.tar.bz2 scummvm-rg350-1507fe4e792528244fe3c8d1a9ae45ac40936efe.zip |
AGI: Fix detection of IIgs sample resources
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp index f44b34c70d..10074ef402 100644 --- a/engines/agi/sound.cpp +++ b/engines/agi/sound.cpp @@ -42,7 +42,7 @@ AgiSound *AgiSound::createFromRawResource(uint8 *data, uint32 len, int resnum, S uint16 type = READ_LE_UINT16(data); // For V1 sound resources - if ((type & 0xFF) == 0x01) + if (type != AGI_SOUND_SAMPLE && (type & 0xFF) == 0x01) return new PCjrSound(data, len, resnum, manager); switch (type) { // Create a sound object based on the type |