aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-04-16 12:31:17 +0000
committerJohannes Schickel2009-04-16 12:31:17 +0000
commit3deae9fc8b34fbcfed3c7fa7c99c1cb6491a05d3 (patch)
tree8c3ce42163fcbf642530d1ffb28efc9ca0191f1f /engines
parent52fa15561a282d6ac7b1a6e34312482d40de6b67 (diff)
downloadscummvm-rg350-3deae9fc8b34fbcfed3c7fa7c99c1cb6491a05d3.tar.gz
scummvm-rg350-3deae9fc8b34fbcfed3c7fa7c99c1cb6491a05d3.tar.bz2
scummvm-rg350-3deae9fc8b34fbcfed3c7fa7c99c1cb6491a05d3.zip
Add HACK to support DOS music in Kyra1 Mac CD based on patch #2767489 "KYRA1: Support for Mac CD".
svn-id: r39962
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/staticres.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index 87aae17f0e..ef45c0b6e4 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -1428,7 +1428,9 @@ void KyraEngine_LoK::initStaticResource() {
static const char *tIntro98[] = { "intro%d.dat" };
static const char *tIngame98[] = { "kyram%d.dat" };
- if (_flags.platform == Common::kPlatformPC) {
+ // FIXME: It seems Kyra1 MAC CD includes AdLib and MIDI music and sfx, thus we enable
+ // support for those for now. (Based on patch #2767489 "Support for Mac Kyrandia 1 CD" by satz).
+ if (_flags.platform == Common::kPlatformPC || _flags.platform == Common::kPlatformMacintosh) {
_soundData[0]._fileList = _soundFilesIntro;
_soundData[0]._fileListLen = _soundFilesIntroSize;
_soundData[0]._cdaTracks = 0;