Spaces in LOG_MSG and some at the end of the line.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3999
This commit is contained in:
parent
b9b9e2c7d1
commit
a3345eed24
6 changed files with 103 additions and 103 deletions
|
@ -104,10 +104,10 @@ void MIDI_RawOutByte(Bit8u data) {
|
|||
midi.rt_buf[0]=data;
|
||||
midi.handler->PlayMsg(midi.rt_buf);
|
||||
return;
|
||||
}
|
||||
}
|
||||
/* Test for a active sysex tranfer */
|
||||
if (midi.status==0xf0) {
|
||||
if (!(data&0x80)) {
|
||||
if (!(data&0x80)) {
|
||||
if (midi.sysex.used<(SYSEX_SIZE-1)) midi.sysex.buf[midi.sysex.used++] = data;
|
||||
return;
|
||||
} else {
|
||||
|
@ -175,7 +175,7 @@ public:
|
|||
if (fullconf.find("delaysysex") != std::string::npos) {
|
||||
midi.sysex.start = GetTicks();
|
||||
fullconf.erase(fullconf.find("delaysysex"));
|
||||
LOG_MSG("MIDI:Using delayed SysEx processing");
|
||||
LOG_MSG("MIDI: Using delayed SysEx processing");
|
||||
}
|
||||
std::remove(fullconf.begin(), fullconf.end(), ' ');
|
||||
const char * conf = fullconf.c_str();
|
||||
|
@ -187,24 +187,24 @@ public:
|
|||
while (handler) {
|
||||
if (!strcasecmp(dev,handler->GetName())) {
|
||||
if (!handler->Open(conf)) {
|
||||
LOG_MSG("MIDI:Can't open device:%s with config:%s.",dev,conf);
|
||||
LOG_MSG("MIDI: Can't open device:%s with config:%s.",dev,conf);
|
||||
goto getdefault;
|
||||
}
|
||||
midi.handler=handler;
|
||||
midi.available=true;
|
||||
LOG_MSG("MIDI:Opened device:%s",handler->GetName());
|
||||
midi.available=true;
|
||||
LOG_MSG("MIDI: Opened device:%s",handler->GetName());
|
||||
return;
|
||||
}
|
||||
handler=handler->next;
|
||||
}
|
||||
LOG_MSG("MIDI:Can't find device:%s, finding default handler.",dev);
|
||||
getdefault:
|
||||
LOG_MSG("MIDI: Can't find device:%s, finding default handler.",dev);
|
||||
getdefault:
|
||||
handler=handler_list;
|
||||
while (handler) {
|
||||
if (handler->Open(conf)) {
|
||||
midi.available=true;
|
||||
midi.available=true;
|
||||
midi.handler=handler;
|
||||
LOG_MSG("MIDI:Opened device:%s",handler->GetName());
|
||||
LOG_MSG("MIDI: Opened device:%s",handler->GetName());
|
||||
return;
|
||||
}
|
||||
handler=handler->next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue