mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
SDカード抜け時の上画面の背景色を下画面に合わせる
typo修正 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@32 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
423ebb014e
commit
6aa64d6244
@ -611,7 +611,7 @@ void OnSdEjected()
|
||||
else
|
||||
{
|
||||
InitializeState();
|
||||
ClearFileReadReslt();
|
||||
ClearFileReadResult();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1167,7 +1167,7 @@ void ImportTwlSoundData()
|
||||
ImportTwlData(common::TWL_SOUND);
|
||||
}
|
||||
|
||||
void ClearFileReadReslt()
|
||||
void ClearFileReadResult()
|
||||
{
|
||||
s_CheckedEqualsIVSFileandIVS = false;
|
||||
s_ReadSerialNumber = false;
|
||||
|
||||
@ -65,7 +65,7 @@ void ImportMcuRtc();
|
||||
// TWL写真領域を初期化してから本体初期化を行う
|
||||
void InitializeFileSystem();
|
||||
|
||||
void ClearFileReadReslt();
|
||||
void ClearFileReadResult();
|
||||
|
||||
// プレイ履歴を読み込みます。ptmのセーブデータ移行後に呼び出す必要があります
|
||||
void ImportPlayHistory();
|
||||
|
||||
@ -66,10 +66,15 @@ void DrawSystemState
|
||||
{
|
||||
renderSystem.SetClearColor(GetRenderTarget(NN_GX_DISPLAY0, flip), SUCCESS_COLOR);
|
||||
}
|
||||
if (isBackupFailed)
|
||||
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.SetColor(1.f, 1.f, 1.f);
|
||||
|
||||
@ -38,6 +38,7 @@
|
||||
#define BLUE_COLOR 0.f, 0.f, 1.f, 1.f
|
||||
#define SUCCESS_COLOR 0.f, 0.6f,0.f, 1.f
|
||||
#define FAIL_COLOR 0.6f, 0.f,0.f, 1.f
|
||||
#define NORMAL_COLOR 0.f, 0.f, 0.f, 1.f
|
||||
|
||||
namespace common
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user