diff options
author | Max Horn | 2003-11-10 01:04:12 +0000 |
---|---|---|
committer | Max Horn | 2003-11-10 01:04:12 +0000 |
commit | e34f2b8b3321a576c2ae612470d07cb3e7bc91f5 (patch) | |
tree | 350146bd56be39f91232ed50f7fa2d3330011ab3 /base/gameDetector.cpp | |
parent | 63c6944492ad4bfa0ffbc811e4d1bad9f8452008 (diff) | |
download | scummvm-rg350-e34f2b8b3321a576c2ae612470d07cb3e7bc91f5.tar.gz scummvm-rg350-e34f2b8b3321a576c2ae612470d07cb3e7bc91f5.tar.bz2 scummvm-rg350-e34f2b8b3321a576c2ae612470d07cb3e7bc91f5.zip |
cut down on unnecessary GameDetector references
svn-id: r11239
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r-- | base/gameDetector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 6dd67aa8bf..ef12840b24 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -500,9 +500,11 @@ bool GameDetector::detectGame() { _game = findGame(realGame, &_plugin); if (_game.gameName) { + _gameName = _game.gameName; printf("Trying to start game '%s'\n", _game.description); return true; } else { + _gameName.clear(); printf("Failed game detection\n"); return false; } |