mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
CHECK_SALVAGEモードの画面表示を切り替え
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@800 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
2b49c365a8
commit
686bd527fc
@ -294,6 +294,12 @@ extern "C" void nnMain(void)
|
|||||||
titleColor.g = 0.55f;
|
titleColor.g = 0.55f;
|
||||||
titleColor.b = 1.0f;
|
titleColor.b = 1.0f;
|
||||||
}
|
}
|
||||||
|
else if (GetRestoreMode() == RESTORE_MODE_CHECK_SALVAGE)
|
||||||
|
{
|
||||||
|
titleColor.r = 0.33f;
|
||||||
|
titleColor.g = 0.10f;
|
||||||
|
titleColor.b = 0.55f;
|
||||||
|
}
|
||||||
|
|
||||||
// 上画面表示
|
// 上画面表示
|
||||||
common::DrawSystemState("CTR Console Restore", s_RenderSystem, titleColor, flip, adapterState,
|
common::DrawSystemState("CTR Console Restore", s_RenderSystem, titleColor, flip, adapterState,
|
||||||
@ -327,6 +333,10 @@ extern "C" void nnMain(void)
|
|||||||
{
|
{
|
||||||
s_RenderSystem.DrawText(0, lineBottom * spaceSize, "DL_PREINATALL Mode");
|
s_RenderSystem.DrawText(0, lineBottom * spaceSize, "DL_PREINATALL Mode");
|
||||||
}
|
}
|
||||||
|
else if (GetRestoreMode() == RESTORE_MODE_CHECK_SALVAGE)
|
||||||
|
{
|
||||||
|
s_RenderSystem.DrawText(0, lineBottom * spaceSize, "GET_SDCI + CHECK_SALVAGE Mode");
|
||||||
|
}
|
||||||
|
|
||||||
s_RenderSystem.SetColor(titleColor.r, titleColor.g, titleColor.b);
|
s_RenderSystem.SetColor(titleColor.r, titleColor.g, titleColor.b);
|
||||||
s_RenderSystem.FillRectangle(0, lineBottom * spaceSize, screenWidth, spaceSize);
|
s_RenderSystem.FillRectangle(0, lineBottom * spaceSize, screenWidth, spaceSize);
|
||||||
|
|||||||
@ -804,7 +804,14 @@ bool CheckAndReadAPSetting(common::OperationMessage& operationMessage)
|
|||||||
|
|
||||||
if (s_GetIvsOnlyMode)
|
if (s_GetIvsOnlyMode)
|
||||||
{
|
{
|
||||||
s_RestoreMode = RESTORE_MODE_GET_IVS;
|
if(s_CheckAccountSalvageResult)
|
||||||
|
{
|
||||||
|
s_RestoreMode = RESTORE_MODE_CHECK_SALVAGE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
s_RestoreMode = RESTORE_MODE_GET_IVS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(s_CheckSdOnlyMode)
|
if(s_CheckSdOnlyMode)
|
||||||
@ -2123,13 +2130,19 @@ void InitializeState()
|
|||||||
|
|
||||||
s_ReadSettingDone = false;
|
s_ReadSettingDone = false;
|
||||||
s_ReadSettingIsSuccess = false;
|
s_ReadSettingIsSuccess = false;
|
||||||
|
|
||||||
s_PlayedFailSound = false;
|
s_PlayedFailSound = false;
|
||||||
s_ExecuteFgNup = false;
|
s_ExecuteFgNup = false;
|
||||||
s_FgNupRetryCount = 0;
|
s_FgNupRetryCount = 0;
|
||||||
|
|
||||||
s_NupOnlyMode = false;
|
s_NupOnlyMode = false;
|
||||||
s_GetIvsOnlyMode = false;
|
s_GetIvsOnlyMode = false;
|
||||||
s_CheckSdOnlyMode = false;
|
s_CheckSdOnlyMode = false;
|
||||||
s_SkipNupMode = false;
|
s_SkipNupMode = false;
|
||||||
|
s_DownloadPreinstallMode = false;
|
||||||
|
s_ForceDownloadPreinstall = false;
|
||||||
|
s_CheckAccountSalvageResult = false;
|
||||||
|
|
||||||
s_ExecutePreparePreinstallTitleDownload = false;
|
s_ExecutePreparePreinstallTitleDownload = false;
|
||||||
s_ExecutePreinstallTitleDownload = false;
|
s_ExecutePreinstallTitleDownload = false;
|
||||||
s_PreinstallTitleDownloadSuccess = false;
|
s_PreinstallTitleDownloadSuccess = false;
|
||||||
|
|||||||
@ -31,7 +31,8 @@ typedef enum RestoreMode
|
|||||||
RESTORE_MODE_NUP_ONLY,
|
RESTORE_MODE_NUP_ONLY,
|
||||||
RESTORE_MODE_GET_IVS,
|
RESTORE_MODE_GET_IVS,
|
||||||
RESTORE_MODE_CHECK_SD,
|
RESTORE_MODE_CHECK_SD,
|
||||||
RESTORE_MODE_DOWNLOAD_PREINSTALL
|
RESTORE_MODE_DOWNLOAD_PREINSTALL,
|
||||||
|
RESTORE_MODE_CHECK_SALVAGE
|
||||||
|
|
||||||
} RestoreMode;
|
} RestoreMode;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user