[Scummvm-cvs-logs] SF.net SVN: scummvm: [25817] scummvm/trunk/backends/platform/wince/ CELauncherDialog.cpp
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Sat Feb 24 12:18:29 CET 2007
Revision: 25817
http://scummvm.svn.sourceforge.net/scummvm/?rev=25817&view=rev
Author: knakos
Date: 2007-02-24 03:18:28 -0800 (Sat, 24 Feb 2007)
Log Message:
-----------
temporarily fix automatic detection
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/CELauncherDialog.cpp
Modified: scummvm/trunk/backends/platform/wince/CELauncherDialog.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CELauncherDialog.cpp 2007-02-24 09:55:37 UTC (rev 25816)
+++ scummvm/trunk/backends/platform/wince/CELauncherDialog.cpp 2007-02-24 11:18:28 UTC (rev 25817)
@@ -77,7 +77,8 @@
// insert
if (candidates.size() >= 1) {
GameDescriptor result = candidates[0];
- GUILauncherDialog::addGameToConf(node, result, true);
+ result["path"] = node.path();
+ addGameToConf(result);
}
// Then recurse on the subdirectories
FSList dirs;
@@ -87,6 +88,9 @@
}
+/* FIXME: We do this here, replicating code of the launcher, because findfirst/next
+ * returns some illegal paths atm.
+ */
void CELauncherDialog::addGame() {
MessageDialog alert("Do you want to perform an automatic scan ?", "Yes", "No");
if (alert.runModal() == kMessageOK && _browser->runModal() > 0) {
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