From 9952d4bac561adecfc20851830b438d894486d6a Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 1 Jan 2018 23:07:48 -0800 Subject: [PATCH] UI: Fade in loading much slower to avoid flicker. On Android, it often takes 0.3s or longer to load a game. Avoid fading it all the way in for just a short moment, if it's gonna be quick. --- UI/EmuScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 0b143e1452..439aaf3444 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -231,8 +231,8 @@ void EmuScreen::bootGame(const std::string &filename) { host->NotifyUserMessage(gr->T("DefaultCPUClockRequired", "Warning: This game requires the CPU clock to be set to default."), 15.0f); } - loadingViewColor_->Divert(0xFFFFFFFF, 0.15f); - loadingViewVisible_->Divert(UI::V_VISIBLE, 0.15f); + loadingViewColor_->Divert(0xFFFFFFFF, 0.75f); + loadingViewVisible_->Divert(UI::V_VISIBLE, 0.75f); } void EmuScreen::bootComplete() {