LIMITEDカードアプリのSDKバージョンに関するチェックを追加.

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@479 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2010-01-07 07:16:52 +00:00
parent b13144dee0
commit 8099d88fd0
6 changed files with 35 additions and 0 deletions

View File

@ -250,6 +250,28 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
this->hErrorList->Add( this->makeMrcError("DigestArea") );
}
// SDKのバージョンによってはLIMITEDのカードアプリを禁止する
if( !this->IsMediaNand && (this->pRomHeader->s.platform_code == PLATFORM_CODE_TWL_LIMITED) )
{
for each( RCSDKVersion ^sdk in this->hSDKList )
{
if( sdk->IsStatic )
{
System::Byte major = (System::Byte)(0xff & (sdk->Code >> 24));
System::Byte minor = (System::Byte)(0xff & (sdk->Code >> 16));
System::UInt16 relstep = (System::UInt16)(0xffff & sdk->Code);
if( (major == 5) && (minor == 3) && (30000 <= relstep) && (relstep < 30001) )
{
this->hWarnList->Add( this->makeMrcError("LimitedCard53") );
}
else if( (major == 5) && (minor == 2) && (30000 <= relstep) && (relstep < 30003) )
{
this->hWarnList->Add( this->makeMrcError("LimitedCard52") );
}
}
}
}
// NANDアプリがHYBRIDとなるのはクローンブートのときのみ
if( this->IsMediaNand )
{

View File

@ -3,6 +3,19 @@
<!-- 英訳依頼 ここから (ver.1.8 追加メッセージ その2) -->
<!-- LIMITED Card -->
<LimitedCard53>
<name>カードアプリのLIMITED条件</name>
<sentence>カードアプリをLIMITED版として作成する場合には、TwlSDK5.3 patch1以降を使用してください。</sentence>
<begin>0</begin><end>0</end><modify>False</modify><affect>True</affect>
</LimitedCard53>
<LimitedCard52>
<name>カードアプリのLIMITED条件</name>
<sentence>カードアプリをLIMITED版として作成する場合には、TwlSDK5.2 patch3以降を使用してください。</sentence>
<begin>0</begin><end>0</end><modify>False</modify><affect>True</affect>
</LimitedCard52>
<!-- TCL -->
<TclDeletePicture53>
<name>写真データベースアクセス</name>