BASE: Loading engine plugins is slow
|Reported by:||ccawley2011||Owned by:||sev-|
When building with uncached plugins, ScummVM will always iterate through all plugins to find the required engine plugin. This can potentially take around 20 seconds on the DS, which is spent looking at a blank screen, making it appear that the application has hung. Since the engine ID is usually in the file name, it would make sense to guess from the file name first, before scanning each one.