From e2495f1d214308ccc879cef9063f9da54deee8cf Mon Sep 17 00:00:00 2001 From: Neil Millstone Date: Mon, 2 Jul 2007 22:48:39 +0000 Subject: Fix for launcher detecting DS configuration section in config file as a game svn-id: r27874 --- gui/launcher.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + ")"; -- cgit v1.2.3