From 5db0f7b13fadb27971da674b959ef922c318ac0e Mon Sep 17 00:00:00 2001 From: 0auBSQ <58159635+0auBSQ@users.noreply.github.com> Date: Wed, 22 Feb 2023 02:43:04 +0900 Subject: [PATCH] Make JPOSSCROLL 3rd argument optional --- TJAPlayer3/Songs/CDTX.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TJAPlayer3/Songs/CDTX.cs b/TJAPlayer3/Songs/CDTX.cs index 39a2c84b..241840d4 100644 --- a/TJAPlayer3/Songs/CDTX.cs +++ b/TJAPlayer3/Songs/CDTX.cs @@ -4057,7 +4057,7 @@ namespace TJAPlayer3 WarnSplitLength("#JPOSSCROLL", strArray, 3); double db移動時刻 = Convert.ToDouble(strArray[0]); int n移動px = Convert.ToInt32(strArray[1]); - int n移動方向 = Convert.ToInt32(strArray[2]); + int n移動方向 = (strArray.Length >= 3) ? Convert.ToInt32(strArray[2]) : 0; //チップ追加して割り込んでみる。 var chip = new CChip();