同一本体への書き戻し時にもCALの値を使うように

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@109 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-03-11 05:32:46 +00:00
parent 2c409db9b8
commit fc01f614bb

View File

@ -695,12 +695,8 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
// ptmのセーブデータ移行後に時計を無効化する
nn::ptm::CTR::InvalidateSystemTime();
// 同じ本体に書き戻す場合は初期化しない
if (!ExistsTryRestoreSameConsoleFile())
{
// cfgのハードウェア固有情報をcal値で初期化する
InitializeHardwareDependentSetting();
}
// cfgの本体固有値をcal値で初期化する
InitializeHardwareDependentSetting();
init = false;
}