(更新:Akabane Jumpei)

・カードのロードをTWLモードで行うかDSモードで行うかを決める関数を修正





git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/branches/20080717_SDK500ss4_branch@1931 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
(no author) 2008-07-17 05:00:28 +00:00
parent 16569d2555
commit bfed55a46b

View File

@ -576,12 +576,18 @@ static BOOL isTwlModeLoad(void)
{
// TWLカード
if(s_cbData.id_nml & HOTSW_ROMID_TWLROM_MASK){
// PlatformCodeがTwl or Hybridの場合
if(s_cbData.pBootSegBuf->rh.s.platform_code & 0x02){
return TRUE;
// NANDアプリの場合
if(s_cbData.pBootSegBuf->rh.s.titleID_Hi & TITLE_ID_HI_MEDIA_MASK){
return FALSE;
}
else{
return FALSE;
// PlatformCodeがTwl or Hybridの場合
if(s_cbData.pBootSegBuf->rh.s.platform_code & 0x02){
return TRUE;
}
else{
return FALSE;
}
}
}
// DSカード