マスタエディタ:MRC機能にTWL専用領域ROMオフセットとARM9拡張常駐モジュールのオフセット比較を追加

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2580 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-10-03 09:39:01 +00:00
parent 2227d16690
commit 89a4831458
4 changed files with 15 additions and 0 deletions

View File

@ -1492,6 +1492,21 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
true, true ) ); // <EFBFBD>C<EFBFBD>³Â\
}
if( *this->hIsMediaNand == false ) // カードアプリのときのみ
{
u32 ideal = (this->pRomHeader->s.twl_card_keytable_area_rom_offset * 0x80000) + 0x3000; // TWL KeyTable領域の開始 + KeyTableサイズ
u32 actual = this->pRomHeader->s.main_ltd_rom_offset;
if( ideal > actual )
{
this->hErrorList->Add( gcnew RCMrcError(
"拡張常駐モジュール", 0x1c0, 0x1c3,
"TWL拡張常駐モジュールの配置に問題があります。弊社窓口にご連絡ください。",
"Extended Static Module",
"Alignment of TWL Extended Static Module is illegal. Please contact us, sorry.",
false, true ) );
}
}
if( (*this->hIsAppLauncher == false) && (*this->hIsSCFGAccess == true) )
{
this->hWarnList->Add( gcnew RCMrcError(