diff options
| author | Neil Millstone | 2007-07-02 22:48:39 +0000 | 
|---|---|---|
| committer | Neil Millstone | 2007-07-02 22:48:39 +0000 | 
| commit | e2495f1d214308ccc879cef9063f9da54deee8cf (patch) | |
| tree | 69f5984bffea60acfdd9c1bdaa097593072c2d91 | |
| parent | 7b958d56650d0571cb4fc24c999c41d4d44147db (diff) | |
| download | scummvm-rg350-e2495f1d214308ccc879cef9063f9da54deee8cf.tar.gz scummvm-rg350-e2495f1d214308ccc879cef9063f9da54deee8cf.tar.bz2 scummvm-rg350-e2495f1d214308ccc879cef9063f9da54deee8cf.zip | |
Fix for launcher detecting DS configuration section in config file as a game
svn-id: r27874
| -rw-r--r-- | gui/launcher.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/gui/launcher.cpp b/gui/launcher.cpp index af35fb46b0..712cc78883 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -588,6 +588,15 @@ void LauncherDialog::updateListing() {  			if (g.contains("description"))  				description = g.description();  		} + +#ifdef __DS__ +		// DS port uses an extra section called 'ds'.  This prevents the section from being +		// detected as a game. +		if (gameid == "ds") { +			continue; +		} +#endif +  		if (description.empty())  			description = "Unknown (target " + iter->_key + ", gameid " + gameid + ")"; | 
