diff --git a/trunk/ConsoleDataMigration/ConsoleBackup/ConsoleBackup.cpp b/trunk/ConsoleDataMigration/ConsoleBackup/ConsoleBackup.cpp index e4bb786..374b0e8 100644 --- a/trunk/ConsoleDataMigration/ConsoleBackup/ConsoleBackup.cpp +++ b/trunk/ConsoleDataMigration/ConsoleBackup/ConsoleBackup.cpp @@ -393,6 +393,8 @@ extern "C" void nnMain(void) infraDeviceId, friendCode, GetProgress(), + IsBackupFailed(), + IsBackupSucceeded(), macAddress, operationMessage, region, diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/ConsoleRestore.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/ConsoleRestore.cpp index 1648120..36ba997 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/ConsoleRestore.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/ConsoleRestore.cpp @@ -412,6 +412,8 @@ extern "C" void nnMain(void) infraDeviceId, friendCode, GetProgress(), + IsRestoreFailed(), + IsRestoreSucceeded(), macAddress, operationMessage, region, diff --git a/trunk/ConsoleDataMigration/common/DrawSystemState.cpp b/trunk/ConsoleDataMigration/common/DrawSystemState.cpp index cf0d418..3de5f9e 100644 --- a/trunk/ConsoleDataMigration/common/DrawSystemState.cpp +++ b/trunk/ConsoleDataMigration/common/DrawSystemState.cpp @@ -100,6 +100,8 @@ void DrawSystemState u64 deviceId, u64 friendCode, u32 progress, + bool isBackupFailed, + bool isBackupSucceeded, char8* macAddress, ::std::vector& operationMessage, nn::cfg::CTR::CfgRegionCode region, @@ -125,7 +127,18 @@ void DrawSystemState // デフォルトで上画面に描画するもの renderSystem.SetRenderTarget(GetRenderTarget(NN_GX_DISPLAY0, flip)); - renderSystem.SetClearColor(GetRenderTarget(NN_GX_DISPLAY0, flip), NORMAL_COLOR); + if (isBackupSucceeded) + { + renderSystem.SetClearColor(GetRenderTarget(NN_GX_DISPLAY0, flip), SUCCESS_COLOR); + } + else if (isBackupFailed) + { + renderSystem.SetClearColor(GetRenderTarget(NN_GX_DISPLAY0, flip), FAIL_COLOR); + } + else + { + renderSystem.SetClearColor(GetRenderTarget(NN_GX_DISPLAY0, flip), NORMAL_COLOR); + } renderSystem.Clear(); diff --git a/trunk/ConsoleDataMigration/common/DrawSystemState.h b/trunk/ConsoleDataMigration/common/DrawSystemState.h index b1240a2..5199975 100644 --- a/trunk/ConsoleDataMigration/common/DrawSystemState.h +++ b/trunk/ConsoleDataMigration/common/DrawSystemState.h @@ -58,6 +58,8 @@ void DrawSystemState u64 deviceId, u64 friendCode, u32 progress, + bool isBackupFailed, + bool isBackupSucceeded, char8* macAddress, ::std::vector& operationMessage, nn::cfg::CTR::CfgRegionCode region,