mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Fixed compilation.
svn-id: r19862
This commit is contained in:
parent
b8a0f9659f
commit
1bfae75251
@ -258,10 +258,10 @@ int KyraEngine::init(GameDetector &detector) {
|
||||
_system->endGFXTransaction();
|
||||
|
||||
// for now we prefer MIDI-to-Adlib conversion over native midi
|
||||
int midiDrv = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB/* | MDT_PREFER_MIDI*/);
|
||||
bool native_mt32 = ((midiDrv == MD_MT32) || ConfMan.getBool("native_mt32"));
|
||||
int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB/* | MDT_PREFER_MIDI*/);
|
||||
bool native_mt32 = ((midiDriver == MD_MT32) || ConfMan.getBool("native_mt32"));
|
||||
|
||||
MidiDriver *driver = MidiDriver::createMidi(midiDrv);
|
||||
MidiDriver *driver = MidiDriver::createMidi(midiDriver);
|
||||
if (midiDriver == MD_ADLIB) {
|
||||
// In this case we should play the Adlib tracks, but for now
|
||||
// the automagic MIDI-to-Adlib conversion will do.
|
||||
|
Loading…
Reference in New Issue
Block a user