mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
アプリへ引き渡すタイトルリストの作成タイミングで、HW_SYSM_VER_INFO_CONTENT_IDおよびHW_SYSM_VER_INFO_CONTENT_LAST_INITIAL_CODEの情報をセットする処理を追加
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1871 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
00238cbbee
commit
376c88f474
@ -1724,9 +1724,26 @@ static void SYSMi_makeTitleIdList( void )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
gamecode = (char *)&(id);
|
||||
// バージョン情報の特殊処理
|
||||
if( ( 0 == STD_CompareNString( &gamecode[1], "LNH", 3 ) ) )
|
||||
{
|
||||
char path[ FS_ENTRY_LONGNAME_MAX ];
|
||||
char *p;
|
||||
NAM_GetTitleBootContentPathFast(path, id);
|
||||
p = STD_SearchString( path, ".app" );
|
||||
if( p == NULL)
|
||||
{
|
||||
// 失敗
|
||||
continue;
|
||||
}
|
||||
MI_CpuCopy8( p-8, (void *)HW_SYSM_VER_INFO_CONTENT_ID, 8 );
|
||||
((char *)HW_SYSM_VER_INFO_CONTENT_ID )[8] = '\0';
|
||||
((char *)HW_SYSM_VER_INFO_CONTENT_ID )[9] = gamecode[0];
|
||||
}
|
||||
|
||||
// ランチャーはリストに入れない
|
||||
gamecode = (char *)&(id);
|
||||
if( ( 0 == STD_CompareNString( &gamecode[1], "ANH", 3 ) )
|
||||
#ifdef DEV_UIG_LAUNCHER
|
||||
|| ( ( 0 == STD_CompareNString( &gamecode[1], "AN4", 3 ) ) && ( SCFG_GetBondingOption() != 0 ) )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user