diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/agi.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/plugin.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/sword2.cpp | 2 | ||||
-rw-r--r-- | engines/touche/plugin.cpp | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index a12b83cd67..0a3e25fbdb 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -642,7 +642,6 @@ PluginError Engine_AGI_create(OSystem *syst, Engine **engine) { FSList fslist; FilesystemNode dir(ConfMan.get("path")); if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) { - warning("AgiEngine: invalid game path '%s'", dir.path().c_str()); return kInvalidPathError; } @@ -657,7 +656,6 @@ PluginError Engine_AGI_create(OSystem *syst, Engine **engine) { } } - warning("AgiEngine: Unable to locate game data at path '%s'", dir.path().c_str()); return kNoGameDataFoundError; } diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index 02792d8f92..8240c19cc3 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1410,7 +1410,6 @@ PluginError Engine_SCUMM_create(OSystem *syst, Engine **engine) { FSList fslist; FilesystemNode dir(ConfMan.get("path")); if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) { - warning("ScummEngine: invalid game path '%s'", dir.path().c_str()); return kInvalidPathError; } @@ -1421,7 +1420,6 @@ PluginError Engine_SCUMM_create(OSystem *syst, Engine **engine) { // Unable to locate game data if (results.empty()) { - warning("ScummEngine: unable to locate game data at path '%s'", dir.path().c_str()); return kNoGameDataFoundError; } diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index 082d2e6aea..778dfb1ab5 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -113,7 +113,6 @@ PluginError Engine_SWORD2_create(OSystem *syst, Engine **engine) { FSList fslist; FilesystemNode dir(ConfMan.get("path")); if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) { - warning("Sword2Engine: invalid game path '%s'", dir.path().c_str()); return kInvalidPathError; } @@ -128,7 +127,6 @@ PluginError Engine_SWORD2_create(OSystem *syst, Engine **engine) { } } - warning("Sword2Engine: Unable to locate game data at path '%s'", dir.path().c_str()); return kNoGameDataFoundError; } diff --git a/engines/touche/plugin.cpp b/engines/touche/plugin.cpp index 1db063fc7c..277ec4b8c9 100644 --- a/engines/touche/plugin.cpp +++ b/engines/touche/plugin.cpp @@ -138,12 +138,10 @@ PluginError Engine_TOUCHE_create(OSystem *system, Engine **engine) { FSList fslist; FilesystemNode dir(ConfMan.get("path")); if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) { - warning("ToucheEngine: invalid game path '%s'", dir.path().c_str()); return kInvalidPathError; } DetectedGameList game = Engine_TOUCHE_detectGames(fslist); if (game.size() != 1) { - warning("ToucheEngine: Unable to locate game data in '%s'", dir.path().c_str()); return kNoGameDataFoundError; } assert(engine); |