mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
LIMITEDカードアプリのSDKバージョンに関するチェックを追加.
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@479 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
b13144dee0
commit
8099d88fd0
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -250,6 +250,28 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
this->hErrorList->Add( this->makeMrcError("DigestArea") );
|
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となるのはクローンブートのときのみ
|
// NANDアプリがHYBRIDとなるのはクローンブートのときのみ
|
||||||
if( this->IsMediaNand )
|
if( this->IsMediaNand )
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
@ -3,6 +3,19 @@
|
|||||||
|
|
||||||
<!-- 英訳依頼 ここから (ver.1.8 追加メッセージ その2) -->
|
<!-- 英訳依頼 ここから (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 -->
|
<!-- TCL -->
|
||||||
<TclDeletePicture53>
|
<TclDeletePicture53>
|
||||||
<name>写真データベースアクセス</name>
|
<name>写真データベースアクセス</name>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user