NAM_GetBootContentPathFastを使用するよう変更。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@483 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yosiokat 2008-01-17 07:02:45 +00:00
parent 7bcef2106d
commit 6a9d62b06e
2 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ static void SYSMi_SetBootSRLPath( NAMTitleId titleID, OSBootType bootType )
MI_CpuClear8( path, FS_ENTRY_LONGNAME_MAX );
if( bootType == OS_BOOTTYPE_NAND ) {
if( NAM_GetTitleBootContentPath( path, titleID ) != NAM_OK ) {
if( NAM_GetTitleBootContentPathFast( path, titleID ) != NAM_OK ) {
OS_TPrintf( "ERROR: BootContentPath Get failed.\n" );
}
}else {

View File

@ -223,7 +223,7 @@ TitleProperty *SYSM_ReadParameters( void )
SYSM_VerifyAndRecoveryNTRSettings(); // NTR設定データを読み出して、TWL設定データとベリファイし、必要ならリカバリ
//NAMの初期化
//NAM_Init(AllocForNAM,FreeForNAM);
NAM_Init( SYSM_Alloc, SYSM_Free );
return pBootTitle;
}
@ -387,7 +387,7 @@ int SYSM_GetNandTitleList( TitleProperty *pTitleList_Nand, int listNum )
s32 offset;
start = OS_GetTick();
readLen = NAM_GetTitleBootContentPath(path, titleIdArray[l]);
readLen = NAM_GetTitleBootContentPathFast(path, titleIdArray[l]);
OS_TPrintf( "NAM_GetTitleBootContentPath : %dus\n", OS_TicksToMicroSeconds( OS_GetTick() - start ) );
if(readLen != NAM_OK){
@ -551,7 +551,7 @@ static void SYSMi_LoadTitleThreadFunc( TitleProperty *pBootTitle )
FSFile file[1];
BOOL bSuccess;
BOOL isTwlApp = TRUE;
NAM_GetTitleBootContentPath(path, pBootTitle->titleID);
NAM_GetTitleBootContentPathFast(path, pBootTitle->titleID);
bSuccess = FS_OpenFileEx(file, path, FS_FILEMODE_R);