diff --git a/mml2vgm/CHANGE.txt b/mml2vgm/CHANGE.txt index 3364816..1a62306 100644 --- a/mml2vgm/CHANGE.txt +++ b/mml2vgm/CHANGE.txt @@ -1,4 +1,7 @@ 更新履歴 +TAG757 2024/12/10 + Core:PartCounter:memo欄のbug修正 + TAG756 2024/12/9 2nd Core:PartCounter:mucomDotNETを演奏時、パート順が乱れるのを修正 diff --git a/mml2vgm/mml2vgmIDEx64/MMLParameter/Conductor.cs b/mml2vgm/mml2vgmIDEx64/MMLParameter/Conductor.cs index e018ffd..1e1f9ff 100644 --- a/mml2vgm/mml2vgmIDEx64/MMLParameter/Conductor.cs +++ b/mml2vgm/mml2vgmIDEx64/MMLParameter/Conductor.cs @@ -49,10 +49,17 @@ protected override void SetNote(outDatum od, int ch, int cc) protected override void SetLyric(outDatum od, int ch, int cc) { - int ls = (int)od.args[1]; - notecmd[od.linePos.ch] = "lyric"; - length[od.linePos.ch] = string.Format("{0:0.##}(#{1:d})", 1.0 * cc / ls, ls); - keyOnMeter[od.linePos.ch] = (int)(255.0); + if (od.args.Count > 1) + { + int ls = (int)od.args[1]; + notecmd[od.linePos.ch] = "lyric"; + length[od.linePos.ch] = string.Format("{0:0.##}(#{1:d})", 1.0 * cc / ls, ls); + keyOnMeter[od.linePos.ch] = (int)(255.0); + return; + } + + //繝。繝「 + memo[ch] = (string)od.args[0]; } }