diff options
author | michi_cc <michi_cc@openttd.org> | 2010-07-09 20:50:28 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2010-07-09 20:50:28 +0000 |
commit | 58f1470129cc9adc4f41df6ef4068baa7e2cf04e (patch) | |
tree | 7997940b73c28f4391868f748609fac08ec3d4a7 /src/music | |
parent | cddd6df25226ea5f13dbc5cadec73072e1b370ae (diff) | |
download | openttd-58f1470129cc9adc4f41df6ef4068baa7e2cf04e.tar.xz |
(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.
Diffstat (limited to 'src/music')
-rw-r--r-- | src/music/win32_m.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/music/win32_m.cpp b/src/music/win32_m.cpp index 51530487c..65ffbbc6b 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() |