aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-06-23 02:21:10 +0000
committerTravis Howell2004-06-23 02:21:10 +0000
commit7d6f56ed48d021a9b13a4a5ffbb274c8eeef3722 (patch)
tree7cc61829a8b5fc87ce5a8081b3be581cbce3e9c5 /scumm/sound.cpp
parent53a0eb87f133e97fc490e857906fb6e2df4a83f3 (diff)
downloadscummvm-rg350-7d6f56ed48d021a9b13a4a5ffbb274c8eeef3722.tar.gz
scummvm-rg350-7d6f56ed48d021a9b13a4a5ffbb274c8eeef3722.tar.bz2
scummvm-rg350-7d6f56ed48d021a9b13a4a5ffbb274c8eeef3722.zip
Enable some sound support in HE7 games.
svn-id: r14006
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 6fe3a99e17..f5c3338d3a 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -941,7 +941,10 @@ File *Sound::openSfxFile() {
}
if (!file->isOpen()) {
- sprintf(buf, "%s.tlk", _vm->getGameName());
+ if (_vm->_heversion >= 70)
+ sprintf(buf, "%s.he2", _vm->getGameName());
+ else
+ sprintf(buf, "%s.tlk", _vm->getGameName());
if (file->open(buf))
file->setEnc(0x69);
_soundMode = kVOCMode;