diff --git a/.gitignore b/.gitignore index bdc6f31..853098d 100644 --- a/.gitignore +++ b/.gitignore @@ -241,4 +241,6 @@ ModelManifest.xml .paket/paket.exe # FAKE - F# Make -.fake/ \ No newline at end of file +.fake/ +*.config +[Rr]elease/*.xml \ No newline at end of file diff --git a/Release/AcbEditor.exe b/Release/AcbEditor.exe index 781643a..794ee9a 100644 Binary files a/Release/AcbEditor.exe and b/Release/AcbEditor.exe differ diff --git a/Release/CsbBuilder.exe b/Release/CsbBuilder.exe index 22cca5d..fe47195 100644 Binary files a/Release/CsbBuilder.exe and b/Release/CsbBuilder.exe differ diff --git a/Release/CsbEditor.exe b/Release/CsbEditor.exe index ec5ce80..7919386 100644 Binary files a/Release/CsbEditor.exe and b/Release/CsbEditor.exe differ diff --git a/Release/SonicAudioLib.dll b/Release/SonicAudioLib.dll index 5b9d9f7..a425b2d 100644 Binary files a/Release/SonicAudioLib.dll and b/Release/SonicAudioLib.dll differ diff --git a/Source/SonicAudioLib/IO/StringPool.cs b/Source/SonicAudioLib/IO/StringPool.cs index 3d89019..b664a10 100644 --- a/Source/SonicAudioLib/IO/StringPool.cs +++ b/Source/SonicAudioLib/IO/StringPool.cs @@ -41,7 +41,7 @@ namespace SonicAudioLib.IO long position = length; items.Add(new StringItem() { Value = value, Position = position }); - length += value.Length + 1; + length += encoding.GetByteCount(value) + 1; return position; }