1
0
mirror of synced 2025-02-17 19:09:25 +01:00

Fix crash on Dan-i Dojo (due to the letter E being recognized as a note, even when declaring EXAMs

This commit is contained in:
0aubsq 2022-05-15 21:12:21 +02:00
parent 395fb31a78
commit 2d07f77005
2 changed files with 3 additions and 4 deletions

View File

@ -4350,9 +4350,7 @@ namespace TJAPlayer3
chip.b可視 = true;
chip.bShow = true;
chip.bShowRoll = true;
chip.nチャンネル番号 = 0x10 + nObjectNum;
//chip.n発声位置 = (this.n現在の小節数 * 384) + ((384 * n) / n文字数);
chip.n発声位置 = (int)((this.n現在の小節数 * 384.0) + ((384.0 * n) / n文字数));
chip.db発声位置 = this.dbNowTime;
@ -5327,6 +5325,7 @@ namespace TJAPlayer3
return -1;
}
*/
}
private int strConvertCourse(string str)

View File

@ -31,10 +31,10 @@ namespace TJAPlayer3
["B"] = 11, // Joint Big Ka (2P)
["C"] = 12, // Mine (Coming soon)
["D"] = 0, // Unused
["E"] = 5, // Konga clap roll (Coming soon)
//["E"] = 5, // Removed, makes dans crash
["F"] = 15, // ADLib
["G"] = 0xF1, // Green (Purple) double hit note (Coming soon)
["H"] = 5, // Konga red roll (Coming soon)
["H"] = 5, // Konga clap roll (Coming soon)
["I"] = 5, // Konga yellow roll (Coming soon)
};