[Scummvm-devel] mt-32 emu by default?
Eugene Sandulenko
sev at scummvm.org
Wed Sep 15 11:50:28 CEST 2010
On 15 September 2010 11:22, Willem Jan Palenstijn <wjp at usecode.org> wrote:
> Hi,
>
> It seems we're currently defaulting to using the mt-32 emu for BASS. Why?
> This emu needs specific rom files that we can't really expect users to have.
> Apparently it's engine-specific, since SCI games use a different sound device
> by default here.
I think it is a regression.
It was introduced as part of patch #1956501 in r50128:
sky.cpp:
- MidiDriverType midiDriver =
MidiDriver::detectMusicDriver(MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI);
- if (midiDriver == MD_ADLIB) {
+ MidiDriver::DeviceHandle dev =
MidiDriver::detectDevice(MDT_ADLIB | MDT_MIDI | MDT_PREFER_MIDI |
MDT_PREFER_MT32);
+ if (MidiDriver::getMusicType(dev) == MT_ADLIB) {
Probably it has to be reverted.
Eugene
More information about the Scummvm-devel
mailing list