From c00da04faa8bd20dd04d04ac885d290ee3e0821b Mon Sep 17 00:00:00 2001 From: nishikawa_takeshi Date: Mon, 8 Mar 2010 11:17:39 +0000 Subject: [PATCH] =?UTF-8?q?1.8A=E5=AF=BE=E5=BF=9C=EF=BC=8ECRC=E3=82=92ROM&?= =?UTF-8?q?ErrorInfo=E3=81=AB=E5=90=AB=E3=82=81=E3=82=8B=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@501 7061adef-622a-194b-ae81-725974e89856 --- .../MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h | 2 +- .../MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h index 121569b..a6407a2 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h @@ -3618,7 +3618,7 @@ private: System::Windows::Forms::TextBox^ tboxWarningPrivateSaveDataPurpose; { System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly(); System::Version ^ver = ass->GetName()->Version; - return ( ver->Major.ToString() + "." + ver->Minor.ToString() ); + return ( ver->Major.ToString() + "." + ver->Minor.ToString() + "A" ); } // SRLに登録されないROM仕様のフォーム入力を diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp index 898a669..7767a23 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp @@ -90,7 +90,12 @@ void Form1::makeRomInfoListXml(System::Xml::XmlDocument ^doc, System::Boolean wi tag->AppendChild( CreateRomInfoListElement(doc, this->labRomType->Text, this->tboxRomLatency->Text, nullptr) ); tag->AppendChild( CreateRomInfoListElement(doc, this->labRomSize->Text, this->tboxRomSize->Text, nullptr) ); tag->AppendChild( CreateRomInfoListElement(doc, this->labRemasterVer->Text, this->tboxRemasterVer->Text, nullptr) ); - tag->AppendChild( CreateRomInfoListElement(doc, this->labCaptionEx->Text, this->tboxCaptionEx->Text, nullptr) ); + if( withError && !isCurrent ) // ver.1.8A で対応 (ROM読み込み時のときCRCを出力) + { + tag->AppendChild( CreateRomInfoListElement(doc, this->labHeaderCRC->Text, this->tboxHeaderCRC->Text, nullptr) ); + tag->AppendChild( CreateRomInfoListElement(doc, this->labRomCRC->Text, this->tboxWholeCRC->Text, nullptr) ); + } + tag->AppendChild( CreateRomInfoListElement(doc, this->labCaptionEx->Text, this->tboxCaptionEx->Text, nullptr) ); section->AppendChild(tag); } root->AppendChild(section);