mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
プレイ履歴の復元をいったん無効に
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:
parent
d9fa748da3
commit
6ef0dc2ead
@ -510,24 +510,12 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// 削除処理
|
// プレイ履歴復元
|
||||||
case HISTORY_RECOVER:
|
case HISTORY_RECOVER:
|
||||||
{
|
{
|
||||||
static bool init = true;
|
nn::ptm::CTR::InvalidateSystemTime();
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
// ptmのセーブデータ移行後に時計を無効化する
|
|
||||||
nn::ptm::CTR::InvalidateSystemTime();
|
|
||||||
|
|
||||||
// ptmのセーブデータ移行後にプレイ履歴を移行する
|
s_RestoreState = TIME_ADJUST;
|
||||||
ImportPlayHistory();
|
|
||||||
init = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(IsImportFinished())
|
|
||||||
{
|
|
||||||
s_RestoreState = TIME_ADJUST;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user