青木君のFATALエラーログ吐き機能をランチャーに組み込み(ある程度の動作は検証済み)

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1806 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yoshida_teruhisa 2008-07-07 07:39:19 +00:00
parent e2c2f02404
commit 6e95effbe4
3 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@ SUBDIRS = reloc_info \
util \
dht \
wds \
errorLog \
TwlWireless
#----------------------------------------------------------------------------

View File

@ -93,6 +93,7 @@ SYSMENU_LIBS = \
libsysmenu$(TWL_LIBSUFFIX).a \
libsysmmcu$(TWL_LIBSUFFIX).a \
libboot$(TWL_LIBSUFFIX).a \
liberrorlog$(TWL_LIBSUFFIX).a \
libds$(TWL_LIBSUFFIX).a \
libhotsw$(TWL_LIBSUFFIX).a \
libdht$(TWL_LIBSUFFIX).a \

View File

@ -19,6 +19,7 @@
#include <twl/dsp.h>
#include <twl/dsp/common/shutter.h>
#include <twl/camera.h>
#include <sysmenu/errorLog.h>
#include "launcher.h"
#include "misc.h"
#include "logoDemo.h"
@ -661,6 +662,7 @@ static void PrintError( void )
G2_ChangeBlendAlpha( 0, 31 );
error_code = UTL_GetFatalError();
PrintfSJIS( 2, 25, TXT_COLOR_RED,"ERROR! - 0x%0.16x\n", error_code );
EL_WriteErrorLog(error_code);
for(l=0;l<64;l++)
{
if( error_code & 0x1 )