aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 06430a5f58..1d5578e115 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -559,11 +559,6 @@ bool GameDetector::detectGame() {
if (target) {
_game = *target;
- if (ConfMan.hasKey("basename")) {
- // FIXME: What is this good for?
- // FIXME: This leaks now!
- _game.gameName = strdup(ConfMan.get("basename").c_str());
- }
printf("Trying to start game '%s'\n", _game.description);
return true;
} else {