mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-18 20:19:11 +00:00
(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user