mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
TWLランチャーでエラーログを書かないように。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/branches/20100611_RedLauncher_Remodel@2970 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
7957510b59
commit
7455b1dbc4
@ -254,7 +254,9 @@ void TwlMain( void )
|
|||||||
// システムの初期化----------------
|
// システムの初期化----------------
|
||||||
InitAllocator(); // ※SYSM_Init以外のSYSMライブラリ関数を呼ぶ前に
|
InitAllocator(); // ※SYSM_Init以外のSYSMライブラリ関数を呼ぶ前に
|
||||||
|
|
||||||
|
#ifndef SYSM_FOR_CTR
|
||||||
ERRORLOG_Init( Alloc, Free );
|
ERRORLOG_Init( Alloc, Free );
|
||||||
|
#endif // SYSM_FOR_CTR
|
||||||
|
|
||||||
// end時間計測1
|
// end時間計測1
|
||||||
MEASURE_RESULT( start, "System Init Time 1: %dms\n" );
|
MEASURE_RESULT( start, "System Init Time 1: %dms\n" );
|
||||||
@ -734,7 +736,9 @@ static void PrintError( void )
|
|||||||
PrintfSJIS( 128, 12, TXT_COLOR_BLUE, "SDK:%s", g_strSDKSvnRevision );
|
PrintfSJIS( 128, 12, TXT_COLOR_BLUE, "SDK:%s", g_strSDKSvnRevision );
|
||||||
error_code = UTL_GetFatalError();
|
error_code = UTL_GetFatalError();
|
||||||
PrintfSJIS( 2, 25, TXT_COLOR_RED,"ERROR! - 0x%016llx\n", error_code );
|
PrintfSJIS( 2, 25, TXT_COLOR_RED,"ERROR! - 0x%016llx\n", error_code );
|
||||||
|
#ifndef SYSM_FOR_CTR
|
||||||
ERRORLOG_Write(error_code);
|
ERRORLOG_Write(error_code);
|
||||||
|
#endif // SYSM_FOR_CTR
|
||||||
for(l=0;l<64;l++)
|
for(l=0;l<64;l++)
|
||||||
{
|
{
|
||||||
if( error_code & 0x1 )
|
if( error_code & 0x1 )
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user