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@171 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
4a8b70ad9c
commit
f77d3c2b96
@ -393,6 +393,8 @@ extern "C" void nnMain(void)
|
|||||||
infraDeviceId,
|
infraDeviceId,
|
||||||
friendCode,
|
friendCode,
|
||||||
GetProgress(),
|
GetProgress(),
|
||||||
|
IsBackupFailed(),
|
||||||
|
IsBackupSucceeded(),
|
||||||
macAddress,
|
macAddress,
|
||||||
operationMessage,
|
operationMessage,
|
||||||
region,
|
region,
|
||||||
|
|||||||
@ -412,6 +412,8 @@ extern "C" void nnMain(void)
|
|||||||
infraDeviceId,
|
infraDeviceId,
|
||||||
friendCode,
|
friendCode,
|
||||||
GetProgress(),
|
GetProgress(),
|
||||||
|
IsRestoreFailed(),
|
||||||
|
IsRestoreSucceeded(),
|
||||||
macAddress,
|
macAddress,
|
||||||
operationMessage,
|
operationMessage,
|
||||||
region,
|
region,
|
||||||
|
|||||||
@ -100,6 +100,8 @@ void DrawSystemState
|
|||||||
u64 deviceId,
|
u64 deviceId,
|
||||||
u64 friendCode,
|
u64 friendCode,
|
||||||
u32 progress,
|
u32 progress,
|
||||||
|
bool isBackupFailed,
|
||||||
|
bool isBackupSucceeded,
|
||||||
char8* macAddress,
|
char8* macAddress,
|
||||||
::std::vector<std::string>& operationMessage,
|
::std::vector<std::string>& operationMessage,
|
||||||
nn::cfg::CTR::CfgRegionCode region,
|
nn::cfg::CTR::CfgRegionCode region,
|
||||||
@ -125,7 +127,18 @@ void DrawSystemState
|
|||||||
|
|
||||||
// デフォルトで上画面に描画するもの
|
// デフォルトで上画面に描画するもの
|
||||||
renderSystem.SetRenderTarget(GetRenderTarget(NN_GX_DISPLAY0, flip));
|
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();
|
renderSystem.Clear();
|
||||||
|
|||||||
@ -58,6 +58,8 @@ void DrawSystemState
|
|||||||
u64 deviceId,
|
u64 deviceId,
|
||||||
u64 friendCode,
|
u64 friendCode,
|
||||||
u32 progress,
|
u32 progress,
|
||||||
|
bool isBackupFailed,
|
||||||
|
bool isBackupSucceeded,
|
||||||
char8* macAddress,
|
char8* macAddress,
|
||||||
::std::vector<std::string>& operationMessage,
|
::std::vector<std::string>& operationMessage,
|
||||||
nn::cfg::CTR::CfgRegionCode region,
|
nn::cfg::CTR::CfgRegionCode region,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user