diff options
author | Max Horn | 2003-12-13 00:20:01 +0000 |
---|---|---|
committer | Max Horn | 2003-12-13 00:20:01 +0000 |
commit | 35b62c294de5f4114b1b413c46e7ec3136e5b2fd (patch) | |
tree | 0183a1afe636edb0907f37e42615467d9ded3714 /base/plugins.cpp | |
parent | dd33ae0f0ffebdd8dde2e15c50a89b02e5e36506 (diff) | |
download | scummvm-rg350-35b62c294de5f4114b1b413c46e7ec3136e5b2fd.tar.gz scummvm-rg350-35b62c294de5f4114b1b413c46e7ec3136e5b2fd.tar.bz2 scummvm-rg350-35b62c294de5f4114b1b413c46e7ec3136e5b2fd.zip |
removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
svn-id: r11603
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r-- | base/plugins.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp index 9c8b61a8cf..e96813bb88 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -52,9 +52,9 @@ GameSettings Plugin::findGame(const char *gameName) const { // Find the GameSettings for this game assert(gameName); GameList games = getSupportedGames(); - GameSettings result = {NULL, NULL, MDT_NONE, 0, NULL}; + GameSettings result = {NULL, NULL, 0}; for (GameList::Iterator g = games.begin(); g != games.end(); ++g) { - if (!scumm_stricmp(g->gameName, gameName)) { + if (!scumm_stricmp(g->name, gameName)) { result = *g; break; } |