Skip to content

Commit

Permalink
TAG757 2024/12/10
Browse files Browse the repository at this point in the history
  Core:PartCounter:memo欄のbug修正
  • Loading branch information
kumatan committed Dec 10, 2024
1 parent b715f81 commit 4c0962f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
3 changes: 3 additions & 0 deletions mml2vgm/CHANGE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
�X�V����
TAG757 2024/12/10
Core:PartCounter:memo����bug�C��

TAG756 2024/12/9 2nd
Core:PartCounter:mucomDotNET�����t���A�p�[�g���������̂��C��

Expand Down
15 changes: 11 additions & 4 deletions mml2vgm/mml2vgmIDEx64/MMLParameter/Conductor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

}
Expand Down

0 comments on commit 4c0962f

Please sign in to comment.