aboutsummaryrefslogtreecommitdiff
path: root/common/gameDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/gameDetector.cpp')
-rw-r--r--common/gameDetector.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp
index dbf9b57b8d..3c5101db22 100644
--- a/common/gameDetector.cpp
+++ b/common/gameDetector.cpp
@@ -577,8 +577,11 @@ bool GameDetector::detectGame()
_gameRealName = gnl->filename;
_features = gnl->features;
_gameText = gnl->gamename;
- debug(1, "Trying to start game '%s', version %d.%d.%d",
- gnl->gamename, gnl->major, gnl->middle, gnl->minor);
+ if (gnl->major != 99)
+ debug(1, "Trying to start game '%s', version %d.%d.%d",
+ gnl->gamename, gnl->major, gnl->middle, gnl->minor);
+ else
+ debug(1, "Trying to start game '%s'",gnl->gamename);
return true;
}
} while ((++gnl)->filename);