summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-09-25 11:43:46 -0500
committerDiegoisawesome <diego@domoreaweso.me>2018-09-25 11:43:46 -0500
commitd86b290419169579ecbca29aafcc46bb5a53f34f (patch)
treef6d720539a898520c922e075449d0fb18c0c270d
parent7f38a03093cf20e1db57ec739029fff316e69686 (diff)
Change initial state of lastNote
-rw-r--r--tools/mid2agb/midi.cpp2
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)
{