[Scummvm-devel] Another plugin question
yotam barnoy
yotambarnoy at gmail.com
Wed Sep 9 08:18:37 CEST 2009
I'm in the middle of debugging the PSP plugins and I haven't really gotten
to the point where this would be an issue, since I'm working with just one
plugin right now, but I noticed that scummvm_main() has the following code:
// Load the plugins.
PluginManager::instance().loadPlugins();
which seems to mean that we're trying to load all the plugins at once(?) Why
would we do such a thing? The whole point of the plugins (at least in
limited architectures) is to minimize memory usage. Yes, I know that we
later call unloadPluginsExcept(), but in the meantime, we've loaded all of
our plugins into memory we don't have. Not to mention the fact that on MIPS
because of the global pointer, plugins can't really coexist in memory unless
they've been pre-built to do so.
I'm wondering how this works in the memory-limited DC?
Please correct me if I'm wrong about this.
Yotam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090909/7410ed1c/attachment.html>
More information about the Scummvm-devel
mailing list