バージョン情報の代わりに日付をいれるように変更。

簡易フォーマットはメニュー表示で「FORMAT」としていましたが実際の動作と乖離しているため「Clean Up」に変更しました。
SDカードの挿抜イベントコードを削除。


git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@973 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
kamikawa 2008-03-27 02:22:09 +00:00
parent 35f64fc543
commit 0b29dbf56e
6 changed files with 11 additions and 23 deletions

View File

@ -11,8 +11,8 @@
in whole or in part, without the prior written consent of Nintendo.
$Date:: $
$Rev:$
$Author:$
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#include <nitro.h>
@ -99,6 +99,7 @@ const u16 PlttDataMain[16][16] = {
{RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31),}, // White
};
// 下画面コンソール文字列パレット
const u16 PlttDataSub[16][16] = {
{RGB555(31, 31, 31), RGB555( 0, 0, 0), RGB555(25, 25, 25), RGB555(31, 31, 31),}, // Black
{RGB555(31, 31, 31), RGB555(21, 0, 0), RGB555(31, 0, 0), RGB555(31, 0, 0),}, // Red
@ -108,7 +109,7 @@ const u16 PlttDataSub[16][16] = {
{RGB555(31, 31, 31), RGB555(0, 21, 21), RGB555(0, 31, 31), RGB555(0, 31, 31),}, // Cyan
{RGB555(31, 31, 31), RGB555(21, 0, 21), RGB555(31, 0, 31), RGB555(31, 0, 31),}, // Purple
{RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31),}, // White
{RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31),}, // White
{RGB555(31, 31, 31), RGB555(20, 20, 20), RGB555(20, 20, 20), RGB555(20, 20, 20),}, // Gray
{RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31),}, // White
{RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31),}, // White
{RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31), RGB555(31, 31, 31),}, // White

View File

@ -11,8 +11,8 @@
in whole or in part, without the prior written consent of Nintendo.
$Date:: $
$Rev:$
$Author:$
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#include <twl.h>

View File

@ -87,16 +87,8 @@ TwlMain()
// initialize file-system
FS_Init(FS_DMA_NOT_USE);
// SDカードの挿抜イベント監視コールバック設定
FS_RegisterEventHook("sdmc", &sSDHook, SDEvents, NULL);
// FS_RegisterEventHook("sdmc", &sSDHook, SDEvents, NULL);
// SD起動などあらゆるマウント状態に対応する
/*
FATFS_UnmountDrive("F:");
FATFS_UnmountDrive("G:");
FATFS_MountDrive("F", FATFS_MEDIA_TYPE_NAND, 0);
FATFS_MountDrive("G", FATFS_MEDIA_TYPE_SD, 0);
*/
// NAMライブラリ初期化
NAM_Init( OS_AllocFromMain, OS_FreeToMain);

View File

@ -99,7 +99,7 @@ void* FormatProcess0(void)
// メニュー一覧
kamiFontPrintf(3, 6, FONT_COLOR_BLACK, "+-------------------+-----+");
kamiFontPrintf(3, 7, FONT_COLOR_BLACK, "l FORMAT l l");
kamiFontPrintf(3, 7, FONT_COLOR_BLACK, "l NAND Clean Up l l");
kamiFontPrintf(3, 8, FONT_COLOR_BLACK, "+-------------------+-----+");
kamiFontPrintf(3, 9, FONT_COLOR_BLACK, "l CHECK DISK l l");
kamiFontPrintf(3, 10, FONT_COLOR_BLACK, "+-------------------+-----+");

View File

@ -91,12 +91,6 @@ static BOOL s_isReadTSD;
àŠÖ<EFBFBD><EFBFBD>錾
*---------------------------------------------------------------------------*/
void HWInfoWriterInit( void );
static void ReadTWLSettings( void );
static void ModifyLanguage( u8 region );
static void ReadPrivateKey( void );
static void ReadHWInfoFile( void );
static void VerifyHWInfo( void );
static BOOL WriteHWInfoFile( u8 region );
static BOOL WriteHWNormalInfoFile( void );
static BOOL WriteHWSecureInfoFile( u8 region );

View File

@ -84,10 +84,11 @@ void* TopmenuProcess0(void)
// バージョン表示
#ifndef NAND_FORMATTER_MODE
kamiFontPrintf(4, 2, 0, "Nand Initializer ver 0.1");
kamiFontPrintf(8, 2, 0, "Nand Initializer");
#else
kamiFontPrintf(4, 2, 0, "Nand Formatter ver 0.1");
kamiFontPrintf(9, 2, 0, "Nand Formatter");
#endif
kamiFontPrintf(9, 4, 8, "<%s>", __DATE__);
// メニュー一覧
kamiFontPrintf(3, 7, FONT_COLOR_BLACK, " FORMAT NAND ");