diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2018-09-25 11:43:46 -0500 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2018-09-25 11:43:46 -0500 |
commit | d86b290419169579ecbca29aafcc46bb5a53f34f (patch) | |
tree | f6d720539a898520c922e075449d0fb18c0c270d /tools | |
parent | 7f38a03093cf20e1db57ec739029fff316e69686 (diff) |
Change initial state of lastNote
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mid2agb/midi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mid2agb/midi.cpp b/tools/mid2agb/midi.cpp index be5454d4e..b49970282 100644 --- a/tools/mid2agb/midi.cpp +++ b/tools/mid2agb/midi.cpp @@ -780,7 +780,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index) std::uint8_t lastVelocity = 0x80u; EventType lastType = events[index].type; std::int32_t lastDuration = 0x80000000; - std::uint8_t lastNote = 0x80u; + std::uint8_t lastNote = 0x40u; if (events[index].type == EventType::Note) { |