From 6e95effbe4c484f3dc9a7b4c59bfbc55ae5b24f6 Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Mon, 7 Jul 2008 07:39:19 +0000 Subject: [PATCH] =?UTF-8?q?=E9=9D=92=E6=9C=A8=E5=90=9B=E3=81=AEFATAL?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=83=AD=E3=82=B0=E5=90=90=E3=81=8D?= =?UTF-8?q?=E6=A9=9F=E8=83=BD=E3=82=92=E3=83=A9=E3=83=B3=E3=83=81=E3=83=A3?= =?UTF-8?q?=E3=83=BC=E3=81=AB=E7=B5=84=E3=81=BF=E8=BE=BC=E3=81=BF=EF=BC=88?= =?UTF-8?q?=E3=81=82=E3=82=8B=E7=A8=8B=E5=BA=A6=E3=81=AE=E5=8B=95=E4=BD=9C?= =?UTF-8?q?=E3=81=AF=E6=A4=9C=E8=A8=BC=E6=B8=88=E3=81=BF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1806 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/libraries_sysmenu/Makefile | 1 + build/systemMenu_RED/Launcher/ARM9/Makefile | 1 + build/systemMenu_RED/Launcher/ARM9/src/main.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/build/libraries_sysmenu/Makefile b/build/libraries_sysmenu/Makefile index ddc27af0..be74640d 100644 --- a/build/libraries_sysmenu/Makefile +++ b/build/libraries_sysmenu/Makefile @@ -34,6 +34,7 @@ SUBDIRS = reloc_info \ util \ dht \ wds \ + errorLog \ TwlWireless #---------------------------------------------------------------------------- diff --git a/build/systemMenu_RED/Launcher/ARM9/Makefile b/build/systemMenu_RED/Launcher/ARM9/Makefile index e3a29dd4..e181c924 100644 --- a/build/systemMenu_RED/Launcher/ARM9/Makefile +++ b/build/systemMenu_RED/Launcher/ARM9/Makefile @@ -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 \ diff --git a/build/systemMenu_RED/Launcher/ARM9/src/main.c b/build/systemMenu_RED/Launcher/ARM9/src/main.c index 559ba258..04d5ca87 100644 --- a/build/systemMenu_RED/Launcher/ARM9/src/main.c +++ b/build/systemMenu_RED/Launcher/ARM9/src/main.c @@ -19,6 +19,7 @@ #include #include #include +#include #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 )