From c640d1c604f219a5be5412d6c5ea8a85f44ec4b4 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 3 Nov 2007 21:06:58 +0000 Subject: Patch #1825276: "DETECTION: advanced detector engine simplification" svn-id: r29386 --- engines/touche/touche.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'engines/touche/touche.cpp') diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp index 7e1a839fe9..bb02b7e58c 100644 --- a/engines/touche/touche.cpp +++ b/engines/touche/touche.cpp @@ -37,8 +37,8 @@ namespace Touche { -ToucheEngine::ToucheEngine(OSystem *system) - : Engine(system), _midiPlayer(0) { +ToucheEngine::ToucheEngine(OSystem *system, Common::Language language) + : Engine(system), _midiPlayer(0), _language(language) { _saveLoadCurrentPage = 0; _saveLoadCurrentSlot = 0; @@ -87,12 +87,6 @@ int ToucheEngine::init() { _system->initSize(kScreenWidth, kScreenHeight); _system->endGFXTransaction(); - // Detect game - if (!detectGame()) { - GUIErrorMessage("No valid games were found in the specified directory."); - return -1; - } - Graphics::setupFont(_language); setupOpcodes(); -- cgit v1.2.3