diff --git a/mml2vgm/CHANGE.txt b/mml2vgm/CHANGE.txt index 6903419f..33648161 100644 --- a/mml2vgm/CHANGE.txt +++ b/mml2vgm/CHANGE.txt @@ -1,4 +1,7 @@ 更新履歴 +TAG756 2024/12/9 2nd + Core:PartCounter:mucomDotNETを演奏時、パート順が乱れるのを修正 + TAG755 2024/12/9 Core:XGM2:PCMテーブル生成のバグ修正 diff --git a/mml2vgm/mml2vgmIDEx64/form/FrmPartCounter.cs b/mml2vgm/mml2vgmIDEx64/form/FrmPartCounter.cs index c745cad6..9d5c9a0e 100644 --- a/mml2vgm/mml2vgmIDEx64/form/FrmPartCounter.cs +++ b/mml2vgm/mml2vgmIDEx64/form/FrmPartCounter.cs @@ -60,7 +60,7 @@ public partial class FrmPartCounter : DockContent, IForm }; private PartRowComparer comparer; - private bool requiresSorting=true; + private bool requiresSorting=false; public FrmPartCounter(Setting setting) @@ -447,11 +447,14 @@ private void Timer_Tick(object sender, EventArgs e) } if (r >= mmli.inst.Length) continue; - if (row.Cells["ClmPriority"].Value == null || (int)row.Cells["ClmPriority"].Value != mmli.partPriority[r]) + if ( + (!(mmli is YM2608_mucom) && !(mmli is YM2610B_mucom) && !(mmli is YM2151_mucom)) + && (row.Cells["ClmPriority"].Value == null || (int)row.Cells["ClmPriority"].Value != mmli.partPriority[r])) { row.Cells["ClmPriority"].Value = mmli.partPriority[r]; requiresSorting = true; } + row.Cells["ClmInstrument"].Value = mmli.inst[r] == null ? "-" : mmli.inst[r].ToString(); row.Cells["ClmEnvelope"].Value = mmli.envelope[r] == null ? "-" : mmli.envelope[r].ToString(); row.Cells["ClmVolume"].Value = mmli.vol[r] == null ? "-" : mmli.vol[r].ToString();