mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:カードアプリでtmpジャンプを設定されていた時にエラーを出す判定を実装。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@332 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
8722c60709
commit
ce394bab48
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -345,7 +345,7 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ノーマルジャンプ
|
// アプリジャンプ
|
||||||
{
|
{
|
||||||
u8 okbits = 0x01 | 0x02 | 0x40 | 0x80;
|
u8 okbits = 0x01 | 0x02 | 0x40 | 0x80;
|
||||||
u8 *p = (u8*)&(this->pRomHeader->s);
|
u8 *p = (u8*)&(this->pRomHeader->s);
|
||||||
@ -357,6 +357,10 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
{
|
{
|
||||||
this->hErrorList->Add( this->makeMrcError("NormalJumpCard") );
|
this->hErrorList->Add( this->makeMrcError("NormalJumpCard") );
|
||||||
}
|
}
|
||||||
|
if( !this->IsMediaNand && this->IsTmpJump )
|
||||||
|
{
|
||||||
|
this->hErrorList->Add( this->makeMrcError("TmpJumpCard") );
|
||||||
|
}
|
||||||
if( this->IsNormalJump && this->IsTmpJump )
|
if( this->IsNormalJump && this->IsTmpJump )
|
||||||
{
|
{
|
||||||
this->hErrorList->Add( this->makeMrcError("NormalJumpAndTmpJump") );
|
this->hErrorList->Add( this->makeMrcError("NormalJumpAndTmpJump") );
|
||||||
|
|||||||
Binary file not shown.
@ -121,6 +121,11 @@
|
|||||||
<sentence>ゲームカード向けのソフトではノーマルアプリジャンプは許可されていません。</sentence>
|
<sentence>ゲームカード向けのソフトではノーマルアプリジャンプは許可されていません。</sentence>
|
||||||
<begin>1d</begin><end>1d</end><modify>False</modify><affect>True</affect>
|
<begin>1d</begin><end>1d</end><modify>False</modify><affect>True</affect>
|
||||||
</NormalJumpCard>
|
</NormalJumpCard>
|
||||||
|
<TmpJumpCard>
|
||||||
|
<name>アプリジャンプ</name>
|
||||||
|
<sentence>ゲームカード向けのソフトではtmpアプリジャンプは許可されていません。</sentence>
|
||||||
|
<begin>1d</begin><end>1d</end><modify>False</modify><affect>True</affect>
|
||||||
|
</TmpJumpCard>
|
||||||
<NormalJumpAndTmpJump>
|
<NormalJumpAndTmpJump>
|
||||||
<name>アプリジャンプ</name>
|
<name>アプリジャンプ</name>
|
||||||
<sentence>ノーマルアプリジャンプとtmpジャンプを同時に設定することはできません。</sentence>
|
<sentence>ノーマルアプリジャンプとtmpジャンプを同時に設定することはできません。</sentence>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user