mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
AGOS: SIMON2: Fix Amiga/Mac sounds. Fixes bug #16712
This commit is contained in:
committed by
Filippos Karapetis
parent
f698c07043
commit
e8da2cec67
@@ -462,7 +462,8 @@ void Sound::loadSfxTable(const char *gameFilename, uint32 base) {
|
||||
|
||||
delete _effects;
|
||||
const bool dataIsUnsigned = true;
|
||||
if (_vm->getPlatform() == Common::kPlatformWindows || (_vm->getFeatures() & GF_WAVSFX))
|
||||
if (_vm->getPlatform() == Common::kPlatformWindows || _vm->getPlatform() == Common::kPlatformAmiga ||
|
||||
_vm->isSimon2MacAmiga() || (_vm->getFeatures() & GF_WAVSFX))
|
||||
_effects = new WavSound(_mixer, gameFilename, base);
|
||||
else
|
||||
_effects = new VocSound(_mixer, gameFilename, dataIsUnsigned, base, false);
|
||||
|
||||
Reference in New Issue
Block a user