マスタエディタ:カードアプリでtmpジャンプを設定されていた時にエラーを出す判定を実装。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@332 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-06-29 10:31:39 +00:00
parent 8722c60709
commit ce394bab48
6 changed files with 10 additions and 1 deletions

View File

@ -345,7 +345,7 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
}
}
// ノーマルジャンプ
// アプリジャンプ
{
u8 okbits = 0x01 | 0x02 | 0x40 | 0x80;
u8 *p = (u8*)&(this->pRomHeader->s);
@ -357,6 +357,10 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
{
this->hErrorList->Add( this->makeMrcError("NormalJumpCard") );
}
if( !this->IsMediaNand && this->IsTmpJump )
{
this->hErrorList->Add( this->makeMrcError("TmpJumpCard") );
}
if( this->IsNormalJump && this->IsTmpJump )
{
this->hErrorList->Add( this->makeMrcError("NormalJumpAndTmpJump") );

View File

@ -121,6 +121,11 @@
<sentence>ゲームカード向けのソフトではノーマルアプリジャンプは許可されていません。</sentence>
<begin>1d</begin><end>1d</end><modify>False</modify><affect>True</affect>
</NormalJumpCard>
<TmpJumpCard>
<name>アプリジャンプ</name>
<sentence>ゲームカード向けのソフトではtmpアプリジャンプは許可されていません。</sentence>
<begin>1d</begin><end>1d</end><modify>False</modify><affect>True</affect>
</TmpJumpCard>
<NormalJumpAndTmpJump>
<name>アプリジャンプ</name>
<sentence>ーマルアプリジャンプとtmpジャンプを同時に設定することはできません。</sentence>