mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
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:
parent
6c1c5579a0
commit
c00da04faa
@ -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仕様のフォーム入力を
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user