マスタエディタ:photoアクセス時にTCLライブラリを使用していないときにエラーにするチェックを追加。バージョンを"1.5a"に変更。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@252 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-03-25 01:10:01 +00:00
parent 358dbf9130
commit 58fb914c7f
7 changed files with 28 additions and 1 deletions

View File

@ -4214,7 +4214,7 @@ private: System::Windows::Forms::RadioButton^ rSubmitInternet;
{
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

@ -687,6 +687,23 @@ void RCSrl::mrcAccessControl(FILE *fp)
{
this->hWarnList->Add( this->makeMrcError("SDJpegSignAccessUser") );
}
// photoアクセスするのにTCLライブラリを使用していないとき
if( (this->pRomHeader->s.access_control.photo_access_read != 0) ||
(this->pRomHeader->s.access_control.photo_access_write != 0) )
{
System::Boolean useTcl = false;
for each( RCLicense ^lic in this->hLicenseList )
{
if( lic->Publisher->StartsWith("NINTENDO") && lic->Name->StartsWith("TCL") )
{
useTcl = true;
}
}
if( !useTcl )
{
this->hErrorList->Add( this->makeMrcError("PhotoTclAccessUser") );
}
}
}
if( this->pRomHeader->s.access_control.common_client_key_for_debugger_sysmenu != 0 )

View File

@ -272,6 +272,11 @@
<sentence>Write access to the Photo Database is not permitted.</sentence>
<begin>1b4</begin><end>1b7</end><modify>False</modify><affect>True</affect>
</PhotoWriteAccessUser>
<PhotoTclAccessUser><!-- 未翻訳 -->
<name>アクセスコントロール情報</name>
<sentence>写真データベースへアクセスする場合にはTCLライブラリを使用してください。</sentence>
<begin>1b4</begin><end>1b7</end><modify>False</modify><affect>True</affect>
</PhotoTclAccessUser>
<PhotoJpegSignAccessUser>
<name>Access Control Information</name>
<sentence>JPEG signatures (JpegSign) are not enabled, even though write access to the Photo Database has been specified.</sentence>

View File

@ -272,6 +272,11 @@
<sentence>写真データベースへのライトアクセスは許可されていません。</sentence>
<begin>1b4</begin><end>1b7</end><modify>False</modify><affect>True</affect>
</PhotoWriteAccessUser>
<PhotoTclAccessUser>
<name>アクセスコントロール情報</name>
<sentence>写真データベースへアクセスする場合にはTCLライブラリを使用してください。</sentence>
<begin>1b4</begin><end>1b7</end><modify>False</modify><affect>True</affect>
</PhotoTclAccessUser>
<PhotoJpegSignAccessUser>
<name>アクセスコントロール情報</name>
<sentence>写真データベースへのライトアクセスが指定されているにもかかわらずJPEG署名(JpegSign)が有効になっていません。</sentence>