mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
20080724_SDK500rc_branchの変更をマージ。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2022 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
03c2cb9601
commit
6c5dfc420d
@ -309,6 +309,15 @@ static void ResetRTC( void )
|
|||||||
RTC_ReadStatus1( &stat1 );
|
RTC_ReadStatus1( &stat1 );
|
||||||
RTC_ReadStatus2( &stat2 );
|
RTC_ReadStatus2( &stat2 );
|
||||||
|
|
||||||
|
// リセット、電源投入、電源電圧低下、ICテストの各フラグを確認
|
||||||
|
if ( stat1.reset || stat1.poc || stat1.bld || stat2.test )
|
||||||
|
{
|
||||||
|
// リセット実行
|
||||||
|
stat1.reset = 1;
|
||||||
|
RTC_WriteStatus1( &stat1 );
|
||||||
|
sw->flags.common.isResetRTC = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
// FOUTが32KHz出力でない場合は、32KHz出力に修正設定する。(無線で使用している)
|
// FOUTが32KHz出力でない場合は、32KHz出力に修正設定する。(無線で使用している)
|
||||||
{
|
{
|
||||||
RTCRawFout fout;
|
RTCRawFout fout;
|
||||||
@ -318,14 +327,6 @@ static void ResetRTC( void )
|
|||||||
RTC_WriteFout(&fout);
|
RTC_WriteFout(&fout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// リセット、電源投入、電源電圧低下、ICテストの各フラグを確認
|
|
||||||
if ( stat1.reset || stat1.poc || stat1.bld || stat2.test )
|
|
||||||
{
|
|
||||||
// リセット実行
|
|
||||||
stat1.reset = 1;
|
|
||||||
RTC_WriteStatus1( &stat1 );
|
|
||||||
sw->flags.common.isResetRTC = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
// RTC初回データ読み込み
|
// RTC初回データ読み込み
|
||||||
RTC_ReadDateTime(&sw->Rtc1stData);
|
RTC_ReadDateTime(&sw->Rtc1stData);
|
||||||
|
|||||||
@ -10,8 +10,8 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
not be disclosed to third parties or copied or duplicated in any form,
|
||||||
in whole or in part, without the prior written consent of Nintendo.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Date:: 2008-07-25#$
|
$Date:: 2008-07-28#$
|
||||||
$Rev: 1994 $
|
$Rev: 2005 $
|
||||||
$Author: yutaka $
|
$Author: yutaka $
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <twl/mi.h>
|
#include <twl/mi.h>
|
||||||
|
|||||||
@ -468,18 +468,8 @@ static TitleProperty *SYSMi_CheckShortcutBoot2( void )
|
|||||||
argument = 100; // フラッシュ壊れシーケンス起動
|
argument = 100; // フラッシュ壊れシーケンス起動
|
||||||
isSetArgument = TRUE;
|
isSetArgument = TRUE;
|
||||||
isBootMSET = TRUE;
|
isBootMSET = TRUE;
|
||||||
}
|
|
||||||
|
|
||||||
//-----------------------------------------------------
|
|
||||||
// TWL設定データ未設定時の初回起動シーケンス起動
|
|
||||||
//-----------------------------------------------------
|
|
||||||
else if( !LCFG_TSD_IsFinishedInitialSetting() ) {
|
|
||||||
argument = 0;
|
|
||||||
isSetArgument = FALSE;
|
|
||||||
isBootMSET = TRUE;
|
|
||||||
}else
|
}else
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
// L+R+Startボタン押下起動で、本体設定のタッチパネル設定を起動
|
// L+R+Startボタン押下起動で、本体設定のタッチパネル設定を起動
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
@ -489,6 +479,16 @@ static TitleProperty *SYSMi_CheckShortcutBoot2( void )
|
|||||||
isSetArgument = TRUE;
|
isSetArgument = TRUE;
|
||||||
isBootMSET = TRUE;
|
isBootMSET = TRUE;
|
||||||
}
|
}
|
||||||
|
#ifndef DISABLE_INITIAL_SETTINGS
|
||||||
|
//-----------------------------------------------------
|
||||||
|
// TWL設定データ未設定時の初回起動シーケンス起動
|
||||||
|
//-----------------------------------------------------
|
||||||
|
else if( !LCFG_TSD_IsFinishedInitialSetting() ) {
|
||||||
|
argument = 0;
|
||||||
|
isSetArgument = FALSE;
|
||||||
|
isBootMSET = TRUE;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
// ランチャー画面を表示しないバージョンの場合
|
// ランチャー画面を表示しないバージョンの場合
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
#include <twl/dsp/common/g711.h>
|
#include <twl/dsp/common/g711.h>
|
||||||
#include <twl/camera.h>
|
#include <twl/camera.h>
|
||||||
#include <sysmenu/errorLog.h>
|
#include <sysmenu/errorLog.h>
|
||||||
|
#include <nitro/crypto.h>
|
||||||
#include "launcher.h"
|
#include "launcher.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "logoDemo.h"
|
#include "logoDemo.h"
|
||||||
@ -178,6 +179,9 @@ void TwlMain( void )
|
|||||||
OS_Init();
|
OS_Init();
|
||||||
SYSM_SetArena(); // OS_Initの後でコールする必要あり。
|
SYSM_SetArena(); // OS_Initの後でコールする必要あり。
|
||||||
|
|
||||||
|
// CRYPTOライブラリ初期化---------- 2008.07.24 ESライブラリがCRYPTOを使用するようになったので、この処理が必要。
|
||||||
|
CRYPTO_SetAllocator( Alloc, Free );
|
||||||
|
|
||||||
// ColdStart時は、ロゴデモが終わるまでは、HWリセットボタンによるHotBootフラグセットを抑制する。
|
// ColdStart時は、ロゴデモが終わるまでは、HWリセットボタンによるHotBootフラグセットを抑制する。
|
||||||
// (「健康と安全」画面を必ず表示するため)
|
// (「健康と安全」画面を必ず表示するため)
|
||||||
if( !SYSM_IsHotStart() ) {
|
if( !SYSM_IsHotStart() ) {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user