diff options
author | Eugene Sandulenko | 2007-11-03 21:06:58 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-11-03 21:06:58 +0000 |
commit | c640d1c604f219a5be5412d6c5ea8a85f44ec4b4 (patch) | |
tree | 5d6efb4954efb93e4d6e2f71a37486a666ee20ce /engines/cruise/cruise.cpp | |
parent | c06905149286c3fbd803d3ca7522bbe66a6ad129 (diff) | |
download | scummvm-rg350-c640d1c604f219a5be5412d6c5ea8a85f44ec4b4.tar.gz scummvm-rg350-c640d1c604f219a5be5412d6c5ea8a85f44ec4b4.tar.bz2 scummvm-rg350-c640d1c604f219a5be5412d6c5ea8a85f44ec4b4.zip |
Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
Diffstat (limited to 'engines/cruise/cruise.cpp')
-rw-r--r-- | engines/cruise/cruise.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/cruise/cruise.cpp b/engines/cruise/cruise.cpp index 3e7f42c3e4..8252877046 100644 --- a/engines/cruise/cruise.cpp +++ b/engines/cruise/cruise.cpp @@ -44,7 +44,7 @@ Common::SaveFileManager * g_saveFileMan; CruiseEngine *g_cruise; -CruiseEngine::CruiseEngine(OSystem * syst) : Engine(syst) { +CruiseEngine::CruiseEngine(OSystem * syst, const CRUISEGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) { #ifdef PALMOS_MODE _currentVolumeFile = new Common::File(); @@ -75,11 +75,6 @@ CruiseEngine::~CruiseEngine() { } int CruiseEngine::init() { - // Detect game - if (!initGame()) { - GUIErrorMessage ("No valid games were found in the specified directory."); - return -1; - } // Initialize backend _system->beginGFXTransaction(); initCommonGFX(false); |