aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-12 18:12:28 -0400
committerMatthew Hoops2012-09-12 18:17:18 -0400
commit77ef097723a869d85c2c7addba6afff85e3447ca (patch)
tree19e9e9cdf663770b204d3cc972e1017dfe4cee05 /engines
parent1d98435d34a9a1a1b3e751fb9af4b4ebd106b243 (diff)
downloadscummvm-rg350-77ef097723a869d85c2c7addba6afff85e3447ca.tar.gz
scummvm-rg350-77ef097723a869d85c2c7addba6afff85e3447ca.tar.bz2
scummvm-rg350-77ef097723a869d85c2c7addba6afff85e3447ca.zip
GROOVIE: Load the 11H Mac installer file when present
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/groovie.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index 0f05d73599..16358bfa28 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -30,6 +30,7 @@
#include "groovie/music.h"
#include "groovie/resource.h"
#include "groovie/roq.h"
+#include "groovie/stuffit.h"
#include "groovie/vdx.h"
#include "common/config-manager.h"
@@ -94,6 +95,15 @@ GroovieEngine::~GroovieEngine() {
}
Common::Error GroovieEngine::run() {
+ if (_gameDescription->version == kGroovieV2 && getPlatform() == Common::kPlatformMacintosh) {
+ // Load the Mac installer with the lowest priority (in case the user has installed
+ // the game and has the MIDI folder present; faster to just load them)
+ Common::Archive *archive = createStuffItArchive("The 11th Hour Installer");
+
+ if (archive)
+ SearchMan.add("The 11th Hour Installer", archive);
+ }
+
_script = new Script(this, _gameDescription->version);
// Initialize the graphics