From 84b8924e94a023e713e4eb34be478ff0fc73beff Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Fri, 18 Jan 2008 07:17:47 +0000 Subject: [PATCH] =?UTF-8?q?DEBUG=5FLAUNCHER=5FDUMP=E3=81=8Cdefine=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B=E5=A0=B4=E5=90=88=E3=81=AE?= =?UTF-8?q?=E3=81=BF=20Launcher=E8=B5=B7=E5=8B=95=E6=99=82=E3=80=81?= =?UTF-8?q?=E7=89=B9=E5=AE=9A=E3=81=AE=E3=83=A1=E3=83=A2=E3=83=AA=E9=A0=98?= =?UTF-8?q?=E5=9F=9F=E3=82=92SD=E3=82=AB=E3=83=BC=E3=83=89=E3=81=ABdump?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= 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@489 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/Launcher/ARM9/src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/systemMenu_RED/Launcher/ARM9/src/main.c b/build/systemMenu_RED/Launcher/ARM9/src/main.c index da7f3559..5740e2d6 100644 --- a/build/systemMenu_RED/Launcher/ARM9/src/main.c +++ b/build/systemMenu_RED/Launcher/ARM9/src/main.c @@ -42,6 +42,7 @@ static StreamInfo strm; // stream info const char filename[] = "data/fanfare.32.wav"; +#ifdef DEBUG_LAUNCHER_DUMP // デバグ用。SDに0x02ffc000から0x02ffe000までdump.datというダンプを吐く static void debugWriteToSD( void ) { @@ -53,6 +54,7 @@ static void debugWriteToSD( void ) if ( !FS_CloseFile( &dest ) ) return; OS_TPrintf( "debugWriteToSD:ok\n"); } +#endif // メイン void TwlMain( void ) @@ -84,9 +86,11 @@ void TwlMain( void ) (void)OS_EnableInterrupts(); FS_Init( FS_DMA_NOT_USE ); - + +#ifdef DEBUG_LAUNCHER_DUMP // debug debugWriteToSD(); +#endif GX_Init(); PM_Init();