AppJumpChecker について、

データタイトル に対する誤判定を修正
nishimoto @ PSEG1

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2257 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
(no author) 2008-08-25 05:33:04 +00:00
parent e29a9f4995
commit 182c05ccdb
3 changed files with 35 additions and 25 deletions

View File

@ -11,8 +11,8 @@
in whole or in part, without the prior written consent of Nintendo. in whole or in part, without the prior written consent of Nintendo.
$Date:: $ $Date:: $
$Rev:$ $Rev$
$Author:$ $Author$
*---------------------------------------------------------------------------*/ *---------------------------------------------------------------------------*/
#include <twl/nam.h> #include <twl/nam.h>
#include <twl/os/common/format_rom.h> #include <twl/os/common/format_rom.h>
@ -236,6 +236,10 @@ static BOOL GetDataStruct(DataStruct* list)
list->id = titleIdList[i]; list->id = titleIdList[i];
// ノーマルジャンプをされるのを許可するかを表すフラグの取得 // ノーマルジャンプをされるのを許可するかを表すフラグの取得
// TitleID を見て、タイトル種別がデータタイトルならば
// そもそも ROMヘッダが存在しない、アプリジャンプをする必要もない
if ( !NAM_IsDataTitle(list->id) )
{
// アプリ本体へのパスを取得 // アプリ本体へのパスを取得
if ( NAM_GetTitleBootContentPath(pathbuf, list->id) != NAM_OK ) if ( NAM_GetTitleBootContentPath(pathbuf, list->id) != NAM_OK )
{ {
@ -262,6 +266,11 @@ static BOOL GetDataStruct(DataStruct* list)
FS_CloseFile(&fp); FS_CloseFile(&fp);
} }
else
{
list->normaljmp_flag = FALSE;
}
}
PrintErrMsg(" "); PrintErrMsg(" ");
return TRUE; return TRUE;

View File

@ -44,4 +44,5 @@ nishimoto_takashi@nintendo.co.jp
<EFBFBD><EFBFBD>ŤX<EFBFBD>V—š—đ<EFBFBD>„============================================ <EFBFBD><EFBFBD>ŤX<EFBFBD>V—š—đ<EFBFBD>„============================================
2008/08/25 データタイトルへの判定の誤りを修正
2008/08/23 <09>VKljÁ 2008/08/23 <09>VKljÁ