mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- Make sure Tempo is initialized before creating SMFs.
SVN r2684 (trunk)
This commit is contained in:
parent
070ec75785
commit
84b9de8c14
1 changed files with 1 additions and 0 deletions
|
@ -969,6 +969,7 @@ void MIDIStreamer::CreateSMF(TArray<BYTE> &file)
|
|||
CheckCaps(MOD_MIDIPORT);
|
||||
IgnoreLoops = true;
|
||||
DoRestart();
|
||||
Tempo = InitialTempo;
|
||||
|
||||
file.Reserve(sizeof(StaticMIDIhead));
|
||||
memcpy(&file[0], StaticMIDIhead, sizeof(StaticMIDIhead));
|
||||
|
|
Loading…
Reference in a new issue