mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:中国版のときレーティングが0x80で埋められていない場合、警告。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@323 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
cc1b0ca24c
commit
480d284218
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -379,6 +379,23 @@ ECSrlResult RCSrl::setRomInfo(void)
|
||||
{
|
||||
this->setRatingInfo( region ); // リージョンに含まれる団体のレーティング情報を取得
|
||||
}
|
||||
|
||||
// 中国版に限り全団体のレーティングが全年齢でなければならない
|
||||
if( region == METWL_MASK_REGION_CHINA )
|
||||
{
|
||||
bool all_free = true;
|
||||
for( i=0; i < PARENTAL_CONTROL_INFO_SIZE; i++ )
|
||||
{
|
||||
if( this->pRomHeader->s.parental_control_rating_info[i] != (OS_TWL_PCTL_OGNINFO_ENABLE_MASK | 0) )
|
||||
{
|
||||
all_free = false;
|
||||
}
|
||||
}
|
||||
if( !all_free )
|
||||
{
|
||||
this->hParentalWarnList->Add( this->makeMrcError("ChinaAllRatingFree") );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ECSrlResult::NOERROR;
|
||||
|
||||
Binary file not shown.
@ -65,6 +65,11 @@
|
||||
<sentence>中国版のバナー文字として不正な文字セットが使用されています。</sentence>
|
||||
<begin>0</begin><end>0</end><modify>False</modify><affect>True</affect>
|
||||
</ChinaBannerCharSet>
|
||||
<ChinaAllRatingFree>
|
||||
<name>レーティング(中国版対応)</name>
|
||||
<sentence>仕向地が中国である場合、すべての団体のレーティングを「全年齢」に設定する必要があります。(マスターROMを作成する際に、マスターエディタによって自動的に設定されますので、ROMを再ビルドする必要はありません。)</sentence>
|
||||
<begin>2f0</begin><end>2ff</end><modify>True</modify><affect>True</affect>
|
||||
</ChinaAllRatingFree>
|
||||
|
||||
<!-- For DS Station -->
|
||||
<DSStationTmpJump>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user