From e2ab95531f86d7374ae9b7deb7de9973d5014548 Mon Sep 17 00:00:00 2001 From: laqieer Date: Tue, 3 May 2022 02:20:40 +0800 Subject: [PATCH] [MP2K] Fix tune in saved MIDI --- VG Music Studio/Core/GBA/MP2K/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VG Music Studio/Core/GBA/MP2K/Player.cs b/VG Music Studio/Core/GBA/MP2K/Player.cs index e00bd21a..b0708425 100644 --- a/VG Music Studio/Core/GBA/MP2K/Player.cs +++ b/VG Music Studio/Core/GBA/MP2K/Player.cs @@ -842,7 +842,7 @@ public void SaveAsMIDI(string fileName, MIDISaveArgs args) } case TuneCommand tune: { - track.Insert(ticks, new ChannelMessage(ChannelCommand.Controller, trackIndex, 24, tune.Tune)); + track.Insert(ticks, new ChannelMessage(ChannelCommand.Controller, trackIndex, 24, tune.Tune + 0x40)); break; } case VoiceCommand voice: