aboutsummaryrefslogtreecommitdiff
path: root/gui/massadd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/massadd.cpp')
-rw-r--r--gui/massadd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/massadd.cpp b/gui/massadd.cpp
index 934957e80b..446285af2d 100644
--- a/gui/massadd.cpp
+++ b/gui/massadd.cpp
@@ -23,7 +23,6 @@
*/
#include "engines/engine.h"
-#include "base/game.h"
#include "base/plugins.h"
#include "common/events.h"
@@ -132,7 +131,7 @@ void MassAddDialog::handleTickle() {
}
// Run the detector on the dir
- GameList candidates(PluginManager::instance().detectGames(files));
+ GameList candidates(EngineMan.detectGames(files));
// Just add all detected games / game variants. If we get more than one,
// that either means the directory contains multiple games, or the detector