diff --git a/KKdMainLib/IO/JSON.cs b/KKdMainLib/IO/JSON.cs index 86cea53..27b8844 100644 --- a/KKdMainLib/IO/JSON.cs +++ b/KKdMainLib/IO/JSON.cs @@ -46,9 +46,9 @@ namespace KKdMainLib.IO { buf.first = 1; buf.data[0] = buf.data[buf.data.Length - 1]; - byte[] temp = _IO.RBy(buf.data.Length - 1); - buf.length = temp.Length; - Array.Copy(temp, 0, buf.data, 1, temp.Length); + byte[] temp = new byte[buf.data.Length]; + buf.length = _IO.RBy(buf.data.Length - 1, temp); + Array.Copy(temp, 0, buf.data, 1, buf.length); } if (buf.length < 1) diff --git a/KKdMainLib/KKdMainLib.csproj b/KKdMainLib/KKdMainLib.csproj index 237c9b3..8f69143 100644 --- a/KKdMainLib/KKdMainLib.csproj +++ b/KKdMainLib/KKdMainLib.csproj @@ -6,12 +6,12 @@ korenkonder (C) 2018-2023 A simple library for working with Project Diva AC/DT/F/AFT/F2/X/XHD/FT/VRFL/M39 files - 0.4.10.16 + 0.4.10.17 KKdMainLib KKdMainLib net461 KKdMainLib - 0.4.10.16 + 0.4.10.17 AnyCPU diff --git a/PD_Tool/Properties/AssemblyInfo.cs b/PD_Tool/Properties/AssemblyInfo.cs index 14d027d..72eec0c 100644 --- a/PD_Tool/Properties/AssemblyInfo.cs +++ b/PD_Tool/Properties/AssemblyInfo.cs @@ -11,5 +11,5 @@ using System.Runtime.InteropServices; [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("7B5D5A3A-A6F8-4813-C97D-ACFC98F7397E")] -[assembly: AssemblyVersion("0.4.10.16")] -[assembly: AssemblyFileVersion("0.4.10.16")] +[assembly: AssemblyVersion("0.4.10.17")] +[assembly: AssemblyFileVersion("0.4.10.17")]