mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
タイトルIDリスト作成:タイトルIDリストの最大保持数に関するチェック処理追加(SDK6162以降のTwlSDK/include/twl/os/common/systemWork.hが必要)
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1465 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
e6249d6fee
commit
c074192e5e
@ -1513,6 +1513,7 @@ static void SYSMi_makeTitleIdList( void )
|
||||
ROM_Header_Short *hs = ( ROM_Header_Short *)SYSM_APP_ROM_HEADER_BUF;
|
||||
int l;
|
||||
u8 count = 0;
|
||||
int max = ( s_listLength < OS_TITLEIDLIST_MAX ) ? s_listLength : OS_TITLEIDLIST_MAX;
|
||||
|
||||
if( s_pTitleIDList == NULL )
|
||||
{
|
||||
@ -1529,7 +1530,7 @@ static void SYSMi_makeTitleIdList( void )
|
||||
return;
|
||||
}
|
||||
|
||||
for(l=-1;l<s_listLength;l++) // -1はカードアプリの特別処理用
|
||||
for(l=-1;l<max;l++) // -1はカードアプリの特別処理用
|
||||
{
|
||||
ROM_Header_Short e_hs;
|
||||
ROM_Header_Short *pe_hs;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user