diff --git a/tools/mid2agb/midi.cpp b/tools/mid2agb/midi.cpp index c7a4389b94..744ef42e88 100644 --- a/tools/mid2agb/midi.cpp +++ b/tools/mid2agb/midi.cpp @@ -836,7 +836,7 @@ int CalculateCompressionScore(std::vector& events, int index) } else { - score += 2; + score++; } } @@ -900,7 +900,7 @@ void Compress(std::vector& events) return; } - if (CalculateCompressionScore(events, i) > 6) + if (CalculateCompressionScore(events, i) >= 6) { CompressWholeNote(events, i); }