Enable some sound support in HE7 games.
svn-id: r14006
This commit is contained in:
parent
53a0eb87f1
commit
7d6f56ed48
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue