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.
This commit is contained in:
Unknown W. Brackets 2018-01-01 23:07:48 -08:00
parent d4400b358a
commit 9952d4bac5

View file

@ -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() {