mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-13 15:54:39 +01:00
(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.
This commit is contained in:
parent
cddd6df252
commit
58f1470129
@ -79,7 +79,8 @@ static bool MidiIntPlaySong(const char *filename)
|
|||||||
if (MidiSendCommand(_T("open \"%s\" type sequencer alias song"), buf) != 0) return false;
|
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()
|
static void MidiIntStopSong()
|
||||||
|
Loading…
Reference in New Issue
Block a user