From 58f1470129cc9adc4f41df6ef4068baa7e2cf04e Mon Sep 17 00:00:00 2001 From: michi_cc Date: Fri, 9 Jul 2010 20:50:28 +0000 Subject: [PATCH] (svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song. --- src/music/win32_m.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/music/win32_m.cpp b/src/music/win32_m.cpp index 51530487c4..65ffbbc6b3 100644 --- a/src/music/win32_m.cpp +++ b/src/music/win32_m.cpp @@ -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()