WINTERMUTE: Add simple detection for WinterMute

This commit is contained in:
Einar Johan Trøan Sømåen 2012-03-13 16:19:32 +01:00 committed by Einar Johan Trøan Sømåen
parent afee4aeacc
commit a7c12a7bd1

View file

@ -29,7 +29,7 @@
#include "engines/metaengine.h"
static const PlainGameDescriptor WinterMute_setting[] = {
{ "WinterMute", "WinterMute - Unspecified game" },
{ "wintermute", "WinterMute - Unspecified game" },
{ 0, 0 }
};
@ -72,7 +72,7 @@ public:
if (!file->isDirectory()) {
const char *gameName = file->getName().c_str();
if (0 == scumm_stricmp("README", gameName)) {
if (0 == scumm_stricmp("data.dcp", gameName)) {
// You could check the contents of the file now if you need to.
detectedGames.push_back(WinterMute_setting[0]);
break;