mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
![Matthew Duggan](/assets/img/avatar_default.png)
CoreMIDI provides hardware midi device support. On my MacBook, the first call to MIDIGetNumberOfDestinations() takes around 2 seconds. Using one of the midi devices lower on the plugin list (mt32, fluidsynth, etc) takes 2 extra seconds on every game start as MidiDriver::getDeviceHandle() enumerates all the plugins to find the right one. This change simply moves CoreMIDI to the bottom of the list. It will still take 2 extra seconds when opening the options box, but that's a rare operation relative to starting games.