mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
NUP専用モードでの無線OFFのタイミングをSD抜き出し待ち状態に変更
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@746 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
041e5f509c
commit
d305806e33
@ -1577,6 +1577,12 @@ void ControlState(common::HardwareStateManager& manager, common::OperationMessag
|
||||
|
||||
case NUP_ONLY_WAIT_SD_EJECT:
|
||||
{
|
||||
static bool init = true;
|
||||
if(init)
|
||||
{
|
||||
manager.SetWifiOff();
|
||||
init = false;
|
||||
}
|
||||
operationMessage.Add("Update Done. Pull Out SD Card.");
|
||||
PlayCursorSound(NUP_ONLY_WAIT_SD_EJECT);
|
||||
}
|
||||
@ -1612,8 +1618,6 @@ void ControlState(common::HardwareStateManager& manager, common::OperationMessag
|
||||
s_RestoreState = FAIL;
|
||||
}
|
||||
|
||||
manager.SetWifiOff();
|
||||
|
||||
// シャットダウンする
|
||||
nn::ptm::CTR::ShutdownAsync(0, nn::fnd::TimeSpan::FromSeconds(0));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user