OSDN Git Service

TSOマージでカラーがおかしくなるバグを修正
authornomeu <nomeu@72ae2088-5f33-de11-a17b-0000e250a282>
Sat, 17 Sep 2011 02:23:43 +0000 (02:23 +0000)
committernomeu <nomeu@72ae2088-5f33-de11-a17b-0000e250a282>
Sat, 17 Sep 2011 02:23:43 +0000 (02:23 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tdcgexplorer/trunk/tso2mqo@2004 72ae2088-5f33-de11-a17b-0000e250a282

Form1.cs
TSOFile.cs

index b660161..3140877 100644 (file)
--- a/Form1.cs
+++ b/Form1.cs
@@ -560,6 +560,9 @@ namespace Tso2MqoGui
                         }\r
                     }\r
 \r
+                    foreach(TSOTex i in texlist)\r
+                        TSOFile.ExchangeChannel(i.data, i.depth);\r
+\r
                     BinaryWriter    bw  = new BinaryWriter(fs);\r
                     TSOWriter.WriteHeader(bw);\r
                     TSOWriter.Write(bw, last.nodes);\r
index 75a1195..c506b29 100644 (file)
@@ -30,7 +30,7 @@ namespace Tso2MqoGui
             System.Diagnostics.Debug.WriteLine(s);\r
         }\r
 \r
-        static void ExchangeChannel(byte[] data, int depth)\r
+        public static void ExchangeChannel(byte[] data, int depth)\r
         {\r
             for(int j= 0; j < data.Length; j+=depth)\r
             {\r