aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 743e37bb09..2520028d43 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -281,8 +281,7 @@ GameList findGame(FilesystemNode *dir) {
// Iterate over all known games and for each check if it might be
// the game in the presented directory.
- assert(g_pluginManager);
- const PluginList &plugins = g_pluginManager->getPlugins();
+ const PluginList &plugins = PluginManager::instance().getPlugins();
int p;
for (p = 0; p < plugins.size(); p++) {
const TargetSettings *v = plugins[p]->getTargets();