diff options
author | Eugene Sandulenko | 2010-08-11 19:32:07 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-11 19:32:07 +0000 |
commit | ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6 (patch) | |
tree | 4b7cfdae50122f6dcddeb3055cde9dbb288baf84 /sound/mididrv.cpp | |
parent | 581935dda41a40d4862ceb28f2afac8e3d766fea (diff) | |
download | scummvm-rg350-ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6.tar.gz scummvm-rg350-ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6.tar.bz2 scummvm-rg350-ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6.zip |
Use tabs instead of spaces for indentation.
svn-id: r51997
Diffstat (limited to 'sound/mididrv.cpp')
-rw-r--r-- | sound/mididrv.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index 0f4b4d779f..eb8bafee01 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -61,14 +61,14 @@ static const uint32 GUIOMapping[] = { /*MDT_CMS, Common::GUIO_MIDICMS,*/ MT_PCJR, Common::GUIO_MIDIPCJR, MT_ADLIB, Common::GUIO_MIDIADLIB, - MT_C64, Common::GUIO_MIDIC64, - MT_AMIGA, Common::GUIO_MIDIAMIGA, + MT_C64, Common::GUIO_MIDIC64, + MT_AMIGA, Common::GUIO_MIDIAMIGA, MT_APPLEIIGS, Common::GUIO_MIDIAPPLEIIGS, - MT_TOWNS, Common::GUIO_MIDITOWNS, - MT_PC98, Common::GUIO_MIDIPC98, - MT_GM, Common::GUIO_MIDIGM, + MT_TOWNS, Common::GUIO_MIDITOWNS, + MT_PC98, Common::GUIO_MIDIPC98, + MT_GM, Common::GUIO_MIDIGM, MT_MT32, Common::GUIO_MIDIMT32, - 0, 0 + 0, 0 }; uint32 MidiDriver::musicType2GUIO(uint32 musicType) { @@ -154,17 +154,17 @@ MidiDriver::DeviceHandle MidiDriver::detectDevice(int flags) { return hdl; break; - case MT_C64: + case MT_C64: if (flags & MDT_C64) return hdl; break; - case MT_AMIGA: + case MT_AMIGA: if (flags & MDT_AMIGA) return hdl; break; - case MT_APPLEIIGS: + case MT_APPLEIIGS: if (flags & MDT_APPLEIIGS) return hdl; break; @@ -243,21 +243,21 @@ MidiDriver::DeviceHandle MidiDriver::detectDevice(int flags) { MusicType tp = MT_AUTO; if (flags & MDT_TOWNS) tp = MT_TOWNS; - else if (flags & MDT_PC98) + else if (flags & MDT_PC98) tp = MT_PC98; else if (flags & MDT_ADLIB) tp = MT_ADLIB; else if (flags & MDT_PCSPK) tp = MT_PCSPK; - else if (flags & MDT_PCJR) + else if (flags & MDT_PCJR) tp = MT_PCJR; - else if (flags & MDT_C64) + else if (flags & MDT_C64) tp = MT_C64; - else if (flags & MDT_AMIGA) + else if (flags & MDT_AMIGA) tp = MT_AMIGA; - else if (flags & MDT_APPLEIIGS) + else if (flags & MDT_APPLEIIGS) tp = MT_APPLEIIGS; - else if (l == 0) + else if (l == 0) // if we haven't tried to find a MIDI device yet we do this now. continue; else |