[Scummvm-cvs-logs] SF.net SVN: scummvm:[34450] scummvm/trunk/base/main.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Mon Sep 8 16:38:08 CEST 2008
Revision: 34450
http://scummvm.svn.sourceforge.net/scummvm/?rev=34450&view=rev
Author: peres001
Date: 2008-09-08 14:38:07 +0000 (Mon, 08 Sep 2008)
Log Message:
-----------
Made searching the game path recursive (with the default depth of 4 levels). This is a temporary fix to make some games work, until we decide what to do with the file/directory searching.
Modified Paths:
--------------
scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp 2008-09-08 14:00:26 UTC (rev 34449)
+++ scummvm/trunk/base/main.cpp 2008-09-08 14:38:07 UTC (rev 34450)
@@ -156,7 +156,7 @@
}
// Add the game path to the directory search list
- Common::File::addDefaultDirectory(path);
+ Common::File::addDefaultDirectoryRecursive(path);
// Add extrapath (if any) to the directory search list
if (ConfMan.hasKey("extrapath"))
@@ -285,12 +285,12 @@
// Try to run the game
int result = runGame(plugin, system, specialDebug);
-
+
// Did an error occur ?
if (result != 0) {
// TODO: Show an informative error dialog if starting the selected game failed.
}
-
+
// Quit unless an error occurred, or Return to launcher was requested
if (result == 0 && !g_system->getEventManager()->shouldRTL())
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list