mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:システム版のときオールリージョンをうまく読み込めなかった問題を修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@283 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
9222725c0d
commit
9ead5c44a4
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -123,7 +123,7 @@ void Form1::setRegionForms(void)
|
|||||||
index = -1; // 不正
|
index = -1; // 不正
|
||||||
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
||||||
if( isJapan && isAmerica && isEurope && isAustralia && isKorea && isChina )
|
if( isJapan && isAmerica && isEurope && isAustralia && isKorea && isChina )
|
||||||
index = 7;
|
index = 9;
|
||||||
#endif
|
#endif
|
||||||
this->combRegion->SelectedIndex = index;
|
this->combRegion->SelectedIndex = index;
|
||||||
this->maskRatingForms(); // ペアレンタルコントロール用フォームの表示/非表示切り替え
|
this->maskRatingForms(); // ペアレンタルコントロール用フォームの表示/非表示切り替え
|
||||||
|
|||||||
@ -586,6 +586,16 @@ void RCSrl::setRatingRomHeader( u32 region )
|
|||||||
}
|
}
|
||||||
this->pRomHeader->s.parental_control_rating_info[ ogn ] = rating;
|
this->pRomHeader->s.parental_control_rating_info[ ogn ] = rating;
|
||||||
}
|
}
|
||||||
|
//#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
||||||
|
// int ogn;
|
||||||
|
// for( ogn=0; ogn < OS_TWL_PCTL_OGN_MAX; ogn++ )
|
||||||
|
// {
|
||||||
|
// if( ognlist->IndexOf(ogn) < 0 )
|
||||||
|
// {
|
||||||
|
// this->pRomHeader->s.parental_control_rating_info[ ogn ] = OS_TWL_PCTL_OGNINFO_ENABLE_MASK | 0;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|||||||
@ -319,7 +319,6 @@ System::Collections::Generic::List<int>^ MasterEditorTWL::getOgnListInRegion( u3
|
|||||||
|
|
||||||
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
||||||
case METWL_MASK_REGION_ALL:
|
case METWL_MASK_REGION_ALL:
|
||||||
|
|
||||||
list->Add( OS_TWL_PCTL_OGN_CERO );
|
list->Add( OS_TWL_PCTL_OGN_CERO );
|
||||||
list->Add( OS_TWL_PCTL_OGN_ESRB );
|
list->Add( OS_TWL_PCTL_OGN_ESRB );
|
||||||
list->Add( OS_TWL_PCTL_OGN_USK );
|
list->Add( OS_TWL_PCTL_OGN_USK );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user