mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
試遊台フラグ立てツール:NTR-ROMのプラットフォームコードによる分岐がおかしい点を修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@296 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
6e187e64cc
commit
894c3ce600
@ -260,7 +260,7 @@ static BOOL iEnableFlag( SContext *pContext )
|
||||
}
|
||||
|
||||
// TWL‚ÆNTR‚ƂŕªŠò
|
||||
if( (rh.s.platform_code == 0) && (rh.s.enable_signature != 0) )
|
||||
if( (rh.s.platform_code == 0) && (rh.s.enable_signature == 0) ) // enable_signature が立っている特殊なアプリを含む (PictoChatなど)
|
||||
{
|
||||
printf( "Platform(TWL/NTR): 0x%02X (NTR)\n", rh.s.platform_code );
|
||||
|
||||
@ -280,7 +280,7 @@ static BOOL iEnableFlag( SContext *pContext )
|
||||
rh.s.header_crc16 = CalcCRC16( CRC16_INIT_VALUE, (u8*)&rh, CALC_CRC16_SIZE );
|
||||
printf( "Header CRC : 0x%04X -> 0x%04X\n", curr_crc, rh.s.header_crc16 );
|
||||
}
|
||||
else // enable_signature が入っている特殊なアプリを含む (PictoChatなど)
|
||||
else
|
||||
{
|
||||
printf( "Platform(TWL/NTR): 0x%02X (%s)\n",
|
||||
rh.s.platform_code, (rh.s.platform_code == PLATFORM_CODE_TWL_HYBLID)?"TWL Hybrid":"TWL Limited" );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user