mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
CTRの互換モード向けビルドでは常駐モジュールのロードとハッシュチェックを行わないように変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/branches/20100611_RedLauncher_Remodel@2933 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
ea41fb6903
commit
1ad9bfbd16
@ -18,6 +18,16 @@
|
||||
ifndef TWL_SYSMENU_COMMONDEFS_
|
||||
TWL_SYSMENU_COMMONDEFS_ = TRUE
|
||||
|
||||
SYSM_FOR_CTR = TRUE
|
||||
SYSM_NO_LOAD = TRUE
|
||||
|
||||
ifdef SYSM_FOR_CTR
|
||||
MACRO_FLAGS += -DSYSM_FOR_CTR
|
||||
ifdef SYSM_NO_LOAD
|
||||
MACRO_FLAGS += -DSYSM_NO_LOAD
|
||||
endif
|
||||
endif
|
||||
|
||||
NITRO_NO_STD_PCHDR = TRUE # プリコンパイルヘッダ抑止
|
||||
|
||||
EMPTY ?=
|
||||
|
||||
@ -889,6 +889,8 @@ OS_TPrintf("RebootSystem failed: cant read file(%p, %d, %d, %d)\n", sp_authcode,
|
||||
// AES初期化(ヘッダと再配置情報がそろってから)
|
||||
(void)SYSM_InitDecryptAESRegion_W( (ROM_Header_Short *)SYSM_APP_ROM_HEADER_BUF );
|
||||
|
||||
#ifndef SYSM_NO_LOAD
|
||||
|
||||
for (i = region_arm9_ntr; i < region_max; ++i)
|
||||
{
|
||||
BOOL result;
|
||||
@ -977,6 +979,8 @@ OS_TPrintf("RebootSystem failed: cant read file(%d, %d)\n", source[i], len);
|
||||
SVC_HMACSHA1GetHash(&dht_arg.ctx, &s_calc_hash[1 * SVC_SHA1_DIGEST_SIZE]);
|
||||
}
|
||||
|
||||
#endif // SYSM_NO_LOAD
|
||||
|
||||
if(!isCardApp)
|
||||
{
|
||||
(void)FS_CloseFile(file);
|
||||
|
||||
@ -544,8 +544,12 @@ MAIN_LOOP_START:
|
||||
PrintPause();
|
||||
}
|
||||
if( SYSM_IsLoadTitleFinished() ) {
|
||||
#ifdef SYSM_NO_LOAD
|
||||
state = BOOT;
|
||||
#else // SYSM_NO_LOAD
|
||||
SYSM_StartAuthenticateTitle( pBootTitle );
|
||||
state = AUTHENTICATE;
|
||||
#endif // SYSM_NO_LOAD
|
||||
}
|
||||
if( !direct_boot )
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user