mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +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);
|
CheckCaps(MOD_MIDIPORT);
|
||||||
IgnoreLoops = true;
|
IgnoreLoops = true;
|
||||||
DoRestart();
|
DoRestart();
|
||||||
|
Tempo = InitialTempo;
|
||||||
|
|
||||||
file.Reserve(sizeof(StaticMIDIhead));
|
file.Reserve(sizeof(StaticMIDIhead));
|
||||||
memcpy(&file[0], StaticMIDIhead, sizeof(StaticMIDIhead));
|
memcpy(&file[0], StaticMIDIhead, sizeof(StaticMIDIhead));
|
||||||
|
|
Loading…
Reference in a new issue