mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
マスタエディタ: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:
parent
2227d16690
commit
89a4831458
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user