diff options
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/dmedia.cpp | 8 | ||||
-rw-r--r-- | backends/midi/timidity.cpp | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/backends/midi/dmedia.cpp b/backends/midi/dmedia.cpp index 849d90dfc7..6865f3e537 100644 --- a/backends/midi/dmedia.cpp +++ b/backends/midi/dmedia.cpp @@ -18,8 +18,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $URL: - * $Id: dmedia.cpp + * $URL:$ + * $Id: dmedia.cpp$ */ /* @@ -27,7 +27,7 @@ * some code liberated from seq.cpp and coremidi.cpp */ -#if defined(IRIX) +#if defined(IRIX) #include "common/scummsys.h" #include "sound/mpu401.h" @@ -86,7 +86,7 @@ int MidiDriver_DMEDIA::open() { if (getenv("SCUMMVM_MIDIPORT")) { _deviceNum = atoi(getenv("SCUMMVM_MIDIPORT")); _midiportName = mdGetName(_deviceNum); - } + } else { _midiportName = mdGetName(0); diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index 963af86a6e..8b10cf07a4 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -168,7 +168,7 @@ int MidiDriver_TIMIDITY::open() { return -1; } - /* should read greeting issued by server upon connect: + /* should read greeting issued by server upon connect: * "220 TiMidity++ v2.13.2 ready)" */ res = timidity_ctl_command(NULL); if (atoi(res) != 220) { @@ -178,7 +178,7 @@ int MidiDriver_TIMIDITY::open() { } /* - * setup buf and prepare data connection + * setup buf and prepare data connection */ /* should read: "200 OK" */ res = timidity_ctl_command("SETBUF %f %f", BUF_LOW_SYNC, BUF_HIGH_SYNC); @@ -200,7 +200,7 @@ int MidiDriver_TIMIDITY::open() { } /* - * open data connection + * open data connection */ data_port = atoi(res + 4); if ((_data_fd = connect_to_server(timidity_host, data_port)) < 0) { |