diff options
author | Max Horn | 2003-10-08 22:10:59 +0000 |
---|---|---|
committer | Max Horn | 2003-10-08 22:10:59 +0000 |
commit | 6e09d35090ab1fa600c5fe1e2f2006ffb0e9c131 (patch) | |
tree | c13a909e2c682464735c09ef81f4adbb923c6115 /gui | |
parent | d1773647159f9ef1393d7a1d33204de5886edce5 (diff) | |
download | scummvm-rg350-6e09d35090ab1fa600c5fe1e2f2006ffb0e9c131.tar.gz scummvm-rg350-6e09d35090ab1fa600c5fe1e2f2006ffb0e9c131.tar.bz2 scummvm-rg350-6e09d35090ab1fa600c5fe1e2f2006ffb0e9c131.zip |
turned PluginManager into a proper singleton
svn-id: r10688
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 3 |
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(); |