fix another possible hang in MIDI code
This commit is contained in:
parent
8692aa5ff5
commit
97d6b00322
|
@ -2070,6 +2070,7 @@ void DivEngine::runMidiClock(int totalCycles) {
|
|||
|
||||
void DivEngine::runMidiTime(int totalCycles) {
|
||||
if (freelance) return;
|
||||
if (got.rate<1) return;
|
||||
midiTimeCycles-=totalCycles;
|
||||
while (midiTimeCycles<=0) {
|
||||
if (curMidiTimePiece==0) {
|
||||
|
|
Loading…
Reference in a new issue