mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
NUPスキップ時にRTC同期されないのでデータ書き込み前にRTC同期するように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@97 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
168ed431c9
commit
0de46ebe4e
@ -414,11 +414,6 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
|
|||||||
if (needsUpdate)
|
if (needsUpdate)
|
||||||
{
|
{
|
||||||
COMMON_LOGGER("Start Network Update\n");
|
COMMON_LOGGER("Start Network Update\n");
|
||||||
// RTC同期を行う
|
|
||||||
// でいるだけ早いタイミングで同期したいがフラグ用ファイルの存在確認に
|
|
||||||
// 失敗するのでここで同期する
|
|
||||||
ExecSyncMcuRtc();
|
|
||||||
|
|
||||||
s_RestoreState = UPDATE_IN_PROGRESS;
|
s_RestoreState = UPDATE_IN_PROGRESS;
|
||||||
}
|
}
|
||||||
else if(needsErase)
|
else if(needsErase)
|
||||||
@ -429,6 +424,11 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
COMMON_LOGGER("Start Import Data\n");
|
COMMON_LOGGER("Start Import Data\n");
|
||||||
|
// Zero NUP限定
|
||||||
|
// RTC同期を行う
|
||||||
|
// NUPされない場合があるのでここで同期
|
||||||
|
ExecSyncMcuRtc();
|
||||||
|
|
||||||
s_RestoreState = RESTORE_TWL_SOUND;
|
s_RestoreState = RESTORE_TWL_SOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user