mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 20:21:06 +00:00
cleanup
svn-id: r18484
This commit is contained in:
parent
9d00744954
commit
bf507bfa11
@ -79,7 +79,7 @@ MidiDriver_CORE::~MidiDriver_CORE() {
|
||||
}
|
||||
|
||||
int MidiDriver_CORE::open() {
|
||||
if (au_output != NULL)
|
||||
if (au_output || mDest)
|
||||
return MERR_ALREADY_OPEN;
|
||||
|
||||
OSStatus err = noErr;
|
||||
|
@ -88,7 +88,7 @@ void MidiDriver_WIN::send(uint32 b) {
|
||||
check_error(midiOutShortMsg(_mo, u.dwData));
|
||||
}
|
||||
|
||||
void MidiDriver_WIN::sysEx (byte *msg, uint16 length) {
|
||||
void MidiDriver_WIN::sysEx(byte *msg, uint16 length) {
|
||||
if (!_isOpen)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user