DHT_TEST部分のコメント修正のみ

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1327 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yutaka 2008-05-13 08:28:34 +00:00
parent 84f78917bc
commit 4ad18c3453

View File

@ -1108,7 +1108,6 @@ static HotSwState LoadStaticModule(void)
OS_Sleep(1); OS_Sleep(1);
} }
OS_SetDebugLED(0x00); OS_SetDebugLED(0x00);
OS_TPrintf("Searching DHT for %.4s(%02X)...", s_cbData.pBootSegBuf->rh.s.game_code, s_cbData.pBootSegBuf->rh.s.rom_version); OS_TPrintf("Searching DHT for %.4s(%02X)...", s_cbData.pBootSegBuf->rh.s.game_code, s_cbData.pBootSegBuf->rh.s.rom_version);
db = DHT_GetDatabase(dht, &s_cbData.pBootSegBuf->rh.s); db = DHT_GetDatabase(dht, &s_cbData.pBootSegBuf->rh.s);
if ( !db ) if ( !db )
@ -1139,6 +1138,9 @@ while(1){ OS_WaitVBlankIntr(); }
} }
else else
{ {
OS_SetDebugLED(0x00);
OS_TPrintf("%.4s(%02X) is mastering for DHT format.\n", s_cbData.pBootSegBuf->rh.s.game_code, s_cbData.pBootSegBuf->rh.s.rom_version);
// 署名チェック!!!
DHT_CheckHashPhase1Update(&ctx, s_cbData.pSecureSegBuf, s_cbData.pBootSegBuf->rh.s.main_size); DHT_CheckHashPhase1Update(&ctx, s_cbData.pSecureSegBuf, s_cbData.pBootSegBuf->rh.s.main_size);
} }