AGOS: SIMON2: Fix Amiga/Mac sounds. Fixes bug #16712

This commit is contained in:
Robert Megone
2026-04-27 10:51:18 +01:00
committed by Filippos Karapetis
parent f698c07043
commit e8da2cec67
+2 -1
View File
@@ -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);