プレイ履歴の復元をいったん無効に

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@29 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-02-08 00:50:41 +00:00
parent d9fa748da3
commit 6ef0dc2ead

View File

@ -510,25 +510,13 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
} }
break; break;
// 削除処理 // プレイ履歴復元
case HISTORY_RECOVER: case HISTORY_RECOVER:
{ {
static bool init = true;
if (init)
{
// ptmのセーブデータ移行後に時計を無効化する
nn::ptm::CTR::InvalidateSystemTime(); nn::ptm::CTR::InvalidateSystemTime();
// ptmのセーブデータ移行後にプレイ履歴を移行する
ImportPlayHistory();
init = false;
}
if(IsImportFinished())
{
s_RestoreState = TIME_ADJUST; s_RestoreState = TIME_ADJUST;
} }
}
// 時計あわせ // 時計あわせ