changeset 15455:1482501b8d08 draft

(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.
author michi_cc <michi_cc@openttd.org>
date Fri, 09 Jul 2010 20:50:28 +0000
parents f22bd3771286
children 191f2e65fb67
files src/music/win32_m.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/music/win32_m.cpp
+++ b/src/music/win32_m.cpp
@@ -79,7 +79,8 @@
 		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()