Skip to content

Commit

Permalink
Merge branch 'master' of github.com:scummvm/scummvm
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kiewitz committed Jun 21, 2015
2 parents 155d554 + 2e8fd74 commit 371d5e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engines/agos/sound.cpp
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions engines/agos/zones.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 371d5e1

Please sign in to comment.