diff options
author | Travis Howell | 2006-10-15 13:13:33 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-15 13:13:33 +0000 |
commit | b9ed8359629970d1390c4fe99841cc92d1eca1ad (patch) | |
tree | c343dd29a3b96343cad8e6c2fb366eb859397eef /engines/agos | |
parent | ea1cbea9f66867d6ad4ab1f7744d629735285fd1 (diff) | |
download | scummvm-rg350-b9ed8359629970d1390c4fe99841cc92d1eca1ad.tar.gz scummvm-rg350-b9ed8359629970d1390c4fe99841cc92d1eca1ad.tar.bz2 scummvm-rg350-b9ed8359629970d1390c4fe99841cc92d1eca1ad.zip |
Amiga sound files aren't compressed
svn-id: r24338
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/res.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/res.cpp b/engines/agos/res.cpp index 98564154c1..d2dbe5154e 100644 --- a/engines/agos/res.cpp +++ b/engines/agos/res.cpp @@ -703,7 +703,8 @@ bool AGOSEngine::loadVGAFile(uint id, uint type) { } dstSize = srcSize = in.size(); - if (getFeatures() & GF_CRUNCHED) { + if ((getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) || + (getFeatures() & GF_CRUNCHED && type != 3)) { byte *srcBuffer = (byte *)malloc(srcSize); if (in.read(srcBuffer, srcSize) != srcSize) error("loadVGAFile: Read failed"); |