OSDN Git Service

#25215 fixed to affect FLIP with wailing chips.
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sat, 21 May 2011 08:42:08 +0000 (08:42 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sat, 21 May 2011 08:42:08 +0000 (08:42 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@171 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXManiaプロジェクト/コード/スコア、曲/CDTX.cs

index 0237554..20ee828 100644 (file)
@@ -2696,8 +2696,8 @@ namespace DTXMania
                                                        {\r
                                                                CChip chip8 = new CChip();\r
                                                                chip8.n発声位置 = num6;\r
-                                                               chip8.nチャンネル番号 = 80;\r
-                                                               chip8.n整数値 = 0x50f;\r
+                                                               chip8.nチャンネル番号 = 0x50;\r
+                                                               chip8.n整数値 = 36 * 36 - 1;\r
                                                                this.listChip.Add( chip8 );\r
                                                        }\r
                                                        this.listChip.Sort();\r
@@ -2988,6 +2988,14 @@ namespace DTXMania
                                        listChip[i].e楽器パート = E楽器パート.BASS;\r
                                        listChip[i].nチャンネル番号 += ( 0xA0 - 0x20 );\r
                                }\r
+                               else if ( listChip[ i ].nチャンネル番号 == 0x28 )                // #25215 2011.5.21 yyagi wailingはE楽器パート.UNKNOWNが割り当てられているので個別に対応\r
+                               {\r
+                                       listChip[ i ].nチャンネル番号 += ( 0xA0 - 0x20 );\r
+                               }\r
+                               else if ( listChip[ i ].nチャンネル番号 == 0xA8 )                // #25215 2011.5.21 yyagi wailingはE楽器パート.UNKNOWNが割り当てられているので個別に対応\r
+                               {\r
+                                       listChip[ i ].nチャンネル番号 -= ( 0xA0 - 0x20 );\r
+                               }\r
                        }\r
                        int t = this.LEVEL.Bass;\r
                        this.LEVEL.Bass = this.LEVEL.Guitar;\r