mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
青木君のFATALエラーログ吐き機能をランチャーに組み込み(ある程度の動作は検証済み)
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1806 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
e2c2f02404
commit
6e95effbe4
@ -34,6 +34,7 @@ SUBDIRS = reloc_info \
|
|||||||
util \
|
util \
|
||||||
dht \
|
dht \
|
||||||
wds \
|
wds \
|
||||||
|
errorLog \
|
||||||
TwlWireless
|
TwlWireless
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -93,6 +93,7 @@ SYSMENU_LIBS = \
|
|||||||
libsysmenu$(TWL_LIBSUFFIX).a \
|
libsysmenu$(TWL_LIBSUFFIX).a \
|
||||||
libsysmmcu$(TWL_LIBSUFFIX).a \
|
libsysmmcu$(TWL_LIBSUFFIX).a \
|
||||||
libboot$(TWL_LIBSUFFIX).a \
|
libboot$(TWL_LIBSUFFIX).a \
|
||||||
|
liberrorlog$(TWL_LIBSUFFIX).a \
|
||||||
libds$(TWL_LIBSUFFIX).a \
|
libds$(TWL_LIBSUFFIX).a \
|
||||||
libhotsw$(TWL_LIBSUFFIX).a \
|
libhotsw$(TWL_LIBSUFFIX).a \
|
||||||
libdht$(TWL_LIBSUFFIX).a \
|
libdht$(TWL_LIBSUFFIX).a \
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
#include <twl/dsp.h>
|
#include <twl/dsp.h>
|
||||||
#include <twl/dsp/common/shutter.h>
|
#include <twl/dsp/common/shutter.h>
|
||||||
#include <twl/camera.h>
|
#include <twl/camera.h>
|
||||||
|
#include <sysmenu/errorLog.h>
|
||||||
#include "launcher.h"
|
#include "launcher.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "logoDemo.h"
|
#include "logoDemo.h"
|
||||||
@ -661,6 +662,7 @@ static void PrintError( void )
|
|||||||
G2_ChangeBlendAlpha( 0, 31 );
|
G2_ChangeBlendAlpha( 0, 31 );
|
||||||
error_code = UTL_GetFatalError();
|
error_code = UTL_GetFatalError();
|
||||||
PrintfSJIS( 2, 25, TXT_COLOR_RED,"ERROR! - 0x%0.16x\n", error_code );
|
PrintfSJIS( 2, 25, TXT_COLOR_RED,"ERROR! - 0x%0.16x\n", error_code );
|
||||||
|
EL_WriteErrorLog(error_code);
|
||||||
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