aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-21 11:20:01 +0200
committerMartin Kiewitz2015-06-21 11:20:01 +0200
commit371d5e1d904898a01292db26703d38ee90558bbd (patch)
tree406e96a1487b976c982de7b7ea6b91db38c0a828 /engines
parent155d5541834d220a7b7fe8b73dcf12c65dff6cc3 (diff)
parent2e8fd745480e545ffdd6f653a5db48ff033b3fb8 (diff)
downloadscummvm-rg350-371d5e1d904898a01292db26703d38ee90558bbd.tar.gz
scummvm-rg350-371d5e1d904898a01292db26703d38ee90558bbd.tar.bz2
scummvm-rg350-371d5e1d904898a01292db26703d38ee90558bbd.zip
Merge branch 'master' of github.com:scummvm/scummvm
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/sound.cpp2
-rw-r--r--engines/agos/zones.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp
index 812f46504f..78c67b2080 100644
--- a/engines/agos/sound.cpp
+++ b/engines/agos/sound.cpp
@@ -684,7 +684,7 @@ void Sound::playRawData(byte *soundData, uint sound, uint size, uint freq) {
memcpy(buffer, soundData, size);
byte flags = 0;
- if (_vm->getPlatform() == Common::kPlatformDOS)
+ if (_vm->getPlatform() == Common::kPlatformDOS && _vm->getGameId() != GID_ELVIRA2)
flags = Audio::FLAG_UNSIGNED;
Audio::AudioStream *stream = Audio::makeRawStream(buffer, size, freq, flags);
diff --git a/engines/agos/zones.cpp b/engines/agos/zones.cpp
index 1644213579..5a753d9b4b 100644
--- a/engines/agos/zones.cpp
+++ b/engines/agos/zones.cpp
@@ -94,8 +94,7 @@ void AGOSEngine::loadZone(uint16 zoneNum, bool useError) {
vpe->sfxFile = NULL;
- if ((getPlatform() == Common::kPlatformAmiga || getPlatform() == Common::kPlatformAtariST) &&
- getGameType() == GType_ELVIRA2) {
+ if (getGameType() == GType_ELVIRA2) {
// A singe sound file is used for Amiga and AtariST versions
if (loadVGASoundFile(1, 3)) {
vpe->sfxFile = _block;