mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
process_format.c において DUMP_NAND_TREE を define すると NAND をフォーマットする前と後のツリー情報を出力することができます。
NandInitializer/NandFormatter の挙動を確認したい方は是非是非お試しください。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@906 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
a5ed2b9952
commit
195a3c880f
@ -49,8 +49,8 @@ enum {
|
||||
定数定義
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
// NANDの簡易フォーマットを実行する際に
|
||||
// ツリー情報を出力する場合は定義します
|
||||
// NANDの簡易フォーマットを実行する際にツリー情報を出力する場合は定義します。
|
||||
//
|
||||
//#define DUMP_NAND_TREE
|
||||
|
||||
#define DOT_OF_MENU_SPACE 16
|
||||
@ -200,6 +200,9 @@ void* FormatProcess2(void)
|
||||
{
|
||||
case MENU_EASY_FORMAT: // 簡易フォーマット
|
||||
#ifdef DUMP_NAND_TREE
|
||||
OS_Printf("---------------------------------------\n");
|
||||
OS_Printf(" Before \n");
|
||||
OS_Printf("---------------------------------------\n");
|
||||
NAMUT_DrawNandTree();
|
||||
#endif
|
||||
kamiFontPrintf(24, y_pos, FONT_COLOR_BLACK, " WAIT");
|
||||
@ -215,6 +218,9 @@ void* FormatProcess2(void)
|
||||
}
|
||||
#ifdef DUMP_NAND_TREE
|
||||
OS_Printf("\n");
|
||||
OS_Printf("---------------------------------------\n");
|
||||
OS_Printf(" After \n");
|
||||
OS_Printf("---------------------------------------\n");
|
||||
NAMUT_DrawNandTree();
|
||||
#endif
|
||||
return FormatProcess1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user