aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/groovie.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-12 18:02:58 -0400
committerMatthew Hoops2012-09-12 18:02:58 -0400
commit7d684d1166744cffd04e7e016fdf05de0b984a8e (patch)
tree86c3a42b31f88c3088d0bb167c36a36be8aec0e6 /engines/groovie/groovie.cpp
parentbb45b24f8877865e47f793d254371728aa399849 (diff)
downloadscummvm-rg350-7d684d1166744cffd04e7e016fdf05de0b984a8e.tar.gz
scummvm-rg350-7d684d1166744cffd04e7e016fdf05de0b984a8e.tar.bz2
scummvm-rg350-7d684d1166744cffd04e7e016fdf05de0b984a8e.zip
GROOVIE: Add a MusicPlayerMac_v2 for 11H Mac
Diffstat (limited to 'engines/groovie/groovie.cpp')
-rw-r--r--engines/groovie/groovie.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index 42501afa02..0f05d73599 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -56,6 +56,7 @@ GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) :
SearchMan.addSubDirectoryMatching(gameDataDir, "groovie");
SearchMan.addSubDirectoryMatching(gameDataDir, "media");
SearchMan.addSubDirectoryMatching(gameDataDir, "system");
+ SearchMan.addSubDirectoryMatching(gameDataDir, "MIDI");
_modeSpeed = kGroovieSpeedNormal;
if (ConfMan.hasKey("t7g_speed")) {
@@ -160,10 +161,10 @@ Common::Error GroovieEngine::run() {
// Create the music player
switch (getPlatform()) {
case Common::kPlatformMacintosh:
- // TODO: The 11th Hour Mac uses QuickTime MIDI files
- // Right now, since the XMIDI are present and it is still detected as
- // the DOS version, we don't have to do anything here.
- _musicPlayer = new MusicPlayerMac_t7g(this);
+ if (_gameDescription->version == kGroovieT7G)
+ _musicPlayer = new MusicPlayerMac_t7g(this);
+ else
+ _musicPlayer = new MusicPlayerMac_v2(this);
break;
case Common::kPlatformIOS:
_musicPlayer = new MusicPlayerIOS(this);