diff options
author | Kostas Nakos | 2007-02-24 11:18:28 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-02-24 11:18:28 +0000 |
commit | cec73cde40b7ec3abbfd3819814d12367c52f951 (patch) | |
tree | ba86a8b7c87227d6553088f68ad141f6fa91f82e | |
parent | 990132687da85e010301c8c989638c41aaa67a79 (diff) | |
download | scummvm-rg350-cec73cde40b7ec3abbfd3819814d12367c52f951.tar.gz scummvm-rg350-cec73cde40b7ec3abbfd3819814d12367c52f951.tar.bz2 scummvm-rg350-cec73cde40b7ec3abbfd3819814d12367c52f951.zip |
temporarily fix automatic detection
svn-id: r25817
-rw-r--r-- | backends/platform/wince/CELauncherDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/platform/wince/CELauncherDialog.cpp b/backends/platform/wince/CELauncherDialog.cpp index 08e4078aef..ef522a70fe 100644 --- a/backends/platform/wince/CELauncherDialog.cpp +++ b/backends/platform/wince/CELauncherDialog.cpp @@ -77,7 +77,8 @@ void CELauncherDialog::automaticScanDirectory(const FilesystemNode &node) { // 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 @@ void CELauncherDialog::automaticScanDirectory(const FilesystemNode &node) { } +/* 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) { |