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@1100 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
7c49fcf322
commit
e9b0efe6e3
@ -1111,6 +1111,7 @@ static void SYSMi_makeTitleIdList( void )
|
|||||||
FSFile file[1];
|
FSFile file[1];
|
||||||
BOOL bSuccess;
|
BOOL bSuccess;
|
||||||
s32 readLen;
|
s32 readLen;
|
||||||
|
char *gamecode;
|
||||||
if(l==-1)
|
if(l==-1)
|
||||||
{
|
{
|
||||||
// カードアプリ
|
// カードアプリ
|
||||||
@ -1159,9 +1160,20 @@ static void SYSMi_makeTitleIdList( void )
|
|||||||
same_maker_code = FALSE;
|
same_maker_code = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ランチャーはリストに入れない
|
||||||
|
gamecode = (char *)&(pe_hs->titleID);
|
||||||
|
if( 0 == STD_CompareNString( &gamecode[1], "ANH", 3 ) )
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// セキュアアプリの場合か、メーカーコードが同じ場合は
|
// セキュアアプリの場合か、メーカーコードが同じ場合は
|
||||||
if( (hs->titleID & TITLE_ID_HI_SECURE_FLAG_MASK) ||
|
if( (hs->titleID & TITLE_ID_SECURE_FLAG_MASK) ||
|
||||||
( same_maker_code ) )
|
( same_maker_code ) )
|
||||||
|
{
|
||||||
|
// セキュアアプリのデータはマウントさせない
|
||||||
|
if( !(pe_hs->titleID & TITLE_ID_SECURE_FLAG_MASK) )
|
||||||
{
|
{
|
||||||
// リストに追加
|
// リストに追加
|
||||||
list->TitleID[count] = pe_hs->titleID;
|
list->TitleID[count] = pe_hs->titleID;
|
||||||
@ -1177,6 +1189,7 @@ static void SYSMi_makeTitleIdList( void )
|
|||||||
list->privateFlag[count/8] |= (u8)(0x1 << (count%8));
|
list->privateFlag[count/8] |= (u8)(0x1 << (count%8));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ジャンプ可能ならば
|
// ジャンプ可能ならば
|
||||||
if( pe_hs->permit_landing_normal_jump )
|
if( pe_hs->permit_landing_normal_jump )
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user