diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-10-25 21:41:25 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-10-25 21:41:25 +0300 |
commit | 650d6b913504f37ed84c5f855a85aa00d9dc34d8 (patch) | |
tree | d22543958b9517edc738f4db9db641ee36b19e24 /src/adlmidi_load.cpp | |
parent | bf1503ad7150820100e1b7dc83a5bcfbe42c4a1a (diff) | |
download | libADLMIDI-650d6b913504f37ed84c5f855a85aa00d9dc34d8.tar.gz libADLMIDI-650d6b913504f37ed84c5f855a85aa00d9dc34d8.tar.bz2 libADLMIDI-650d6b913504f37ed84c5f855a85aa00d9dc34d8.zip |
Parse & validate loop events in load time than in playing time
Loop events are converting into in-library own types are compact, easier and faster to process without having to re-parse markers or have any extra code in standard event handlers
Diffstat (limited to 'src/adlmidi_load.cpp')
-rw-r--r-- | src/adlmidi_load.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp index aee5775..5bc2ba0 100644 --- a/src/adlmidi_load.cpp +++ b/src/adlmidi_load.cpp @@ -456,9 +456,7 @@ bool MIDIplay::LoadMIDI(MIDIplay::fileReader &fr) trackStart = true; atEnd = false; loopStart = true; - loopStart_passed = false; invalidLoop = false; - loopStart_hit = false; bool is_GMF = false; // GMD/MUS files (ScummVM) //bool is_MUS = false; // MUS/DMX files (Doom) |