1.8A対応.CRCをROM&ErrorInfoに含める.

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@501 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2010-03-08 11:17:39 +00:00
parent 6c1c5579a0
commit c00da04faa
2 changed files with 7 additions and 2 deletions

View File

@ -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仕様のフォーム入力を

View File

@ -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);