Permalink
Browse files

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.
  • Loading branch information...
unknownbrackets committed Jan 2, 2018
1 parent d4400b3 commit 9952d4bac561adecfc20851830b438d894486d6a
Showing with 2 additions and 2 deletions.
  1. +2 −2 UI/EmuScreen.cpp
View
@@ -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() {

0 comments on commit 9952d4b

Please sign in to comment.