mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
中韓対応
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2869 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
1fa776a6e8
commit
c88c6d9894
@ -24,7 +24,7 @@
|
||||
|
||||
#define DMA_NO_FS 1
|
||||
#define CHECK_APP_NUM 10
|
||||
#define REGION_NUM 4
|
||||
#define REGION_NUM 6
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
変数 定義
|
||||
@ -53,6 +53,8 @@ const static u32 regioncode[REGION_NUM] = {
|
||||
0x45, // アメリカ
|
||||
0x50, // 欧州
|
||||
0x55, // オーストラリア
|
||||
0x43, // 中国
|
||||
0x4B // 韓国
|
||||
};
|
||||
|
||||
// スペースの都合MAX 7文字で
|
||||
@ -123,9 +125,20 @@ static void CheckDisableDebugFlg(void)
|
||||
u32 i;
|
||||
|
||||
for(i=0; i<CHECK_APP_NUM; i++){
|
||||
// all regionのアプリはそのままでOK
|
||||
if(i != 2 && i != 3 && i != 8 && i != 9){
|
||||
titleID[i] |= regioncode[gRegion];
|
||||
// 中韓はDLプレイ・ピクトチャットは各国リージョン
|
||||
if( gRegion == OS_TWL_REGION_CHINA || gRegion == OS_TWL_REGION_KOREA )
|
||||
{
|
||||
if(i != 8 && i != 9)
|
||||
{
|
||||
titleID[i] |= regioncode[gRegion];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(i != 2 && i != 3 && i != 8 && i != 9)
|
||||
{
|
||||
titleID[i] |= regioncode[gRegion];
|
||||
}
|
||||
}
|
||||
|
||||
if(NAM_GetTitleBootContentPath( file_path, titleID[i] ) == NAM_OK){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user