mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:一時保存のバグ修正。NANDアプリのときにバックアップメモリのフォームを設定不可にするのを忘れていたのを修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@76 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
6671e08dc2
commit
1dcdb532ed
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2981,6 +2981,20 @@ private: System::Windows::Forms::CheckBox^ cboxIsUnnecessaryRating;
|
||||
this->cboxIsPhotoEx->Checked = this->IsCheckedPhotoEx;
|
||||
}
|
||||
|
||||
// バックアップメモリの表示をNANDアプリのときに「なし」にする
|
||||
void maskBackupMemoryForms(void)
|
||||
{
|
||||
if( this->hSrl->IsMediaNand )
|
||||
{
|
||||
this->combBackup->SelectedIndex = this->combBackup->Items->Count - 2;
|
||||
this->combBackup->Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this->combBackup->Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
// ----------------------------------------------
|
||||
// フォームとSRL内情報を矛盾なく一致させる
|
||||
|
||||
@ -214,15 +214,7 @@ void Form1::setSrlForms(void)
|
||||
|
||||
// ROMヘッダには関係ないが
|
||||
// NANDアプリのときにバックアップメモリを自動的に「なし」にしておく
|
||||
if( this->hSrl->IsMediaNand )
|
||||
{
|
||||
this->combBackup->SelectedIndex = this->combBackup->Items->Count - 2;
|
||||
this->combBackup->Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this->combBackup->Enabled = true;
|
||||
}
|
||||
this->maskBackupMemoryForms();
|
||||
} // setSrlForms()
|
||||
|
||||
// ----------------------------------------------
|
||||
|
||||
@ -248,7 +248,7 @@ void Form1::loadTmp( System::String ^filename )
|
||||
|
||||
this->maskRatingForms(); // ペアレンタルコントロール情報をリージョンに合わせる
|
||||
this->changeUnnecessaryRatingForms(false); // 一度コンボボックスがenableになるので再設定
|
||||
|
||||
this->maskBackupMemoryForms(); // NANDアプリのときのバックアップメモリの自動設定
|
||||
} //loadTmp()
|
||||
|
||||
// ----------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user