diff --git a/trunk/ConsoleDataMigration/sources/ConsoleRestore/ConsoleRestore.cpp b/trunk/ConsoleDataMigration/sources/ConsoleRestore/ConsoleRestore.cpp index fe95818..2447c7a 100644 --- a/trunk/ConsoleDataMigration/sources/ConsoleRestore/ConsoleRestore.cpp +++ b/trunk/ConsoleDataMigration/sources/ConsoleRestore/ConsoleRestore.cpp @@ -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); diff --git a/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.cpp b/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.cpp index 6409fca..856e2f4 100644 --- a/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.cpp +++ b/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.cpp @@ -718,6 +718,11 @@ bool CheckAndReadAPSetting(::std::vector& operationMessage) { s_RestoreMode = RESTORE_MODE_CHECK_SD; } + + if(s_DownloadPreinstallMode) + { + s_RestoreMode = RESTORE_MODE_DOWNLOAD_PREINSTALL; + } } if (!s_ReadSettingIsSuccess) diff --git a/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.h b/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.h index bc8400b..e62537a 100644 --- a/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.h +++ b/trunk/ConsoleDataMigration/sources/ConsoleRestore/Controller.h @@ -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;