Enable some sound support in HE7 games.

svn-id: r14006
This commit is contained in:
Travis Howell 2004-06-23 02:21:10 +00:00
parent 53a0eb87f1
commit 7d6f56ed48
2 changed files with 6 additions and 2 deletions

View file

@ -665,7 +665,8 @@ void ScummEngine_v7he::o7_startSound() {
break;
case 232:
pop();
//FIXME Ignoring extra arguments for now.
_sound->addSoundToQueue(pop());
// _staticVar4 = pop();
// _staticVar3 = 0;
// _staticVar1 = 11025;

View file

@ -941,6 +941,9 @@ File *Sound::openSfxFile() {
}
if (!file->isOpen()) {
if (_vm->_heversion >= 70)
sprintf(buf, "%s.he2", _vm->getGameName());
else
sprintf(buf, "%s.tlk", _vm->getGameName());
if (file->open(buf))
file->setEnc(0x69);