mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
47de1896b9
Trying all engine plugins in alphabetical order is a time consuming process, so start by trying the plugin which has the same name as the engine id first, if it exists, as it will usually be the right one. In the rare case that it would be the wrong one there is no problem; the code will simply fall through to the old scanning and then record the correct plugin in the engine_plugin_files domain where it will be found the next time the plugin is needed.