Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
This commit is contained in:
parent
84f3c98fad
commit
c8873d8492
19 changed files with 23 additions and 20 deletions
|
@ -167,7 +167,7 @@ Common::Error Parallaction_ns::init() {
|
|||
_disk->init();
|
||||
|
||||
if (getPlatform() == Common::kPlatformPC) {
|
||||
int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriverType midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
|
||||
MidiDriver *driver = MidiDriver::createMidi(midiDriver);
|
||||
_soundManI = new DosSoundMan_ns(this, driver);
|
||||
_soundManI->setMusicVolume(ConfMan.getInt("music_volume"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue