mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
NAM_GetBootContentPathFastを使用するよう変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@483 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
7bcef2106d
commit
6a9d62b06e
@ -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 {
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user