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@593 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
f8e185d80b
commit
2db61f8b8e
@ -266,6 +266,12 @@ extern "C" void nnMain(void)
|
||||
titleColor.g = 0.2f;
|
||||
titleColor.b = 1.2f;
|
||||
}
|
||||
else if(GetRestoreMode() == RESTORE_MODE_DOWNLOAD_PREINSTALL)
|
||||
{
|
||||
titleColor.r = 1.0f;
|
||||
titleColor.g = 0.55f;
|
||||
titleColor.b = 1.0f;
|
||||
}
|
||||
|
||||
// 上画面表示
|
||||
common::DrawSystemState("CTR Console Restore",
|
||||
@ -311,6 +317,10 @@ extern "C" void nnMain(void)
|
||||
{
|
||||
s_RenderSystem.DrawText(0, lineBottom * spaceSize, "CHECK-SD Mode");
|
||||
}
|
||||
else if (GetRestoreMode() == RESTORE_MODE_DOWNLOAD_PREINSTALL)
|
||||
{
|
||||
s_RenderSystem.DrawText(0, lineBottom * spaceSize, "DL_PREINATALL Mode");
|
||||
}
|
||||
|
||||
s_RenderSystem.SetColor(titleColor.r, titleColor.g, titleColor.b);
|
||||
s_RenderSystem.FillRectangle(0, lineBottom * spaceSize, screenWidth, spaceSize);
|
||||
|
||||
@ -718,6 +718,11 @@ bool CheckAndReadAPSetting(::std::vector<std::string>& operationMessage)
|
||||
{
|
||||
s_RestoreMode = RESTORE_MODE_CHECK_SD;
|
||||
}
|
||||
|
||||
if(s_DownloadPreinstallMode)
|
||||
{
|
||||
s_RestoreMode = RESTORE_MODE_DOWNLOAD_PREINSTALL;
|
||||
}
|
||||
}
|
||||
|
||||
if (!s_ReadSettingIsSuccess)
|
||||
|
||||
@ -29,7 +29,8 @@ typedef enum RestoreMode
|
||||
RESTORE_MODE_RESTORE,
|
||||
RESTORE_MODE_NUP_ONLY,
|
||||
RESTORE_MODE_GET_IVS,
|
||||
RESTORE_MODE_CHECK_SD
|
||||
RESTORE_MODE_CHECK_SD,
|
||||
RESTORE_MODE_DOWNLOAD_PREINSTALL
|
||||
|
||||
} RestoreMode;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user