・NAMUT_Format内で、ランチャー用ラッピングファイルのクリアを追加。

・NandInitializerREDのrsf内でのRomSize指定をコメントアウト。(デフォルトのままで良い)

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2168 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yosiokat 2008-08-15 12:11:05 +00:00
parent bb1732d800
commit c0748d5016
3 changed files with 22 additions and 2 deletions

View File

@ -54,7 +54,8 @@ static const char* sDeleteDirectoryList[] =
static const char* sFillFileList[] =
{
"nand:/shared1/TWLCFG0.dat",
"nand:/shared1/TWLCFG1.dat"
"nand:/shared1/TWLCFG1.dat",
"nand:/shared2/launcher/wrap.bin"
};
#define VOLUME_INITIAL_VALUE 5 // 本体初期化時に設定する本体ボリューム値

View File

@ -56,6 +56,7 @@ static BOOL IsCommandSelected(void);
static void PrintPause(void);
static void PrintError(void);
static void PrintSystemMenuVersion( void );
static void CreateDummyWrapFile( void );
// global variable-------------------------------------------------------------
@ -326,6 +327,9 @@ void TwlMain( void )
// TMPフォルダのクリーン
SYSM_DeleteTmpDirectory( pBootTitle );
// ダミーのDSメニューラッピング用ファイル作成UIGランチャーが作っているもの
CreateDummyWrapFile();
// end時間計測3
MEASURE_RESULT( start, "TmpClean : %dms\n" );
@ -729,6 +733,21 @@ static void PrintSystemMenuVersion( void )
}
// ダミーのDSメニューラッピング用ファイル作成UIGランチャーが作っているもの
static void CreateDummyWrapFile( void )
{
const char *path = "nand:/shared2/launcher/wrap.bin";
if( FS_CreateFileAuto( path, FS_PERMIT_R | FS_PERMIT_W ) ) {
FSFile file;
if( FS_OpenFileEx( &file, path, FS_FILEMODE_RW ) ) {
(void)FS_SetFileLength( &file, 16 * 1024 );
FS_CloseFile( &file );
}
}
}
// ============================================================================
// 割り込み処理
// ============================================================================

View File

@ -78,7 +78,7 @@ Property
#
# ROM SIZE: in bit [64M/128M/256M/512M/1G/2G]
#
RomSize 64M
#RomSize 2G
#
# ROM PADDING: TRUE if finalrom