From 209bb4ccb57335a829c19c2748cd3f51de6d49e3 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Sat, 11 Feb 2023 15:46:02 +0800 Subject: [PATCH] fix some issue when testing migration result --- LibCmo/VTReader.cpp | 2 +- libcmo21.sln | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/LibCmo/VTReader.cpp b/LibCmo/VTReader.cpp index cbacd50..c2e637f 100644 --- a/LibCmo/VTReader.cpp +++ b/LibCmo/VTReader.cpp @@ -88,7 +88,7 @@ namespace LibCmo { this->m_FileInfo.Hdr1UnPackSize = fhdr2[7]; this->m_FileInfo.DataPackSize = fhdr2[0]; this->m_FileInfo.DataUnPackSize = fhdr2[1]; - this->m_FileInfo.Crc = fhdr1[3]; + this->m_FileInfo.Crc = fhdr1[2]; // ========== crc and body unpacker ========== if (this->m_FileInfo.FileVersion >= 8) { diff --git a/libcmo21.sln b/libcmo21.sln index e3c3f2d..6275dfe 100644 --- a/libcmo21.sln +++ b/libcmo21.sln @@ -8,6 +8,9 @@ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibCmo", "LibCmo\LibCmo.vcxproj", "{70F64F8D-099C-4C21-B29C-0A8F1E22FB2E}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Unvirt", "Unvirt\Unvirt.vcxproj", "{77E7ADB6-0D0C-4BA4-8DE7-A284C7F83941}" + ProjectSection(ProjectDependencies) = postProject + {70F64F8D-099C-4C21-B29C-0A8F1E22FB2E} = {70F64F8D-099C-4C21-B29C-0A8F1E22FB2E} + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution