mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
Removed some left-over (I think!) code from unloadPluginsExcept() that was
causing ScummVM to crash for me. svn-id: r24155
This commit is contained in:
parent
e4c9d0a4e3
commit
f11c3d1f26
@ -204,9 +204,7 @@ void PluginManager::unloadPlugins() {
|
||||
|
||||
void PluginManager::unloadPluginsExcept(const Plugin *plugin) {
|
||||
Plugin *found = NULL;
|
||||
uint i;
|
||||
for (PluginList::iterator p = _plugins.begin(); p != _plugins.end(); ++p)
|
||||
for (i = 0; i < _plugins.size(); i++) {
|
||||
for (PluginList::iterator p = _plugins.begin(); p != _plugins.end(); ++p) {
|
||||
if (*p == plugin) {
|
||||
found = *p;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user