(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.

This commit is contained in:
michi_cc 2010-07-09 20:50:28 +00:00
parent cddd6df252
commit 58f1470129

View File

@ -79,7 +79,8 @@ static bool MidiIntPlaySong(const char *filename)
if (MidiSendCommand(_T("open \"%s\" type sequencer alias song"), buf) != 0) return false;
}
return MidiSendCommand(_T("play song from 0")) == 0;
MidiSendCommand(_T("seek song to start wait"));
return MidiSendCommand(_T("play song")) == 0;
}
static void MidiIntStopSong()