Add option to skip splash screen fade out

This commit is contained in:
Jonathan Rubenstein
2020-07-19 00:29:29 -04:00
committed by Geoffrey McRae
parent a15de57e58
commit 66df00cee2
6 changed files with 26 additions and 4 deletions

View File

@@ -549,7 +549,12 @@ bool egl_render(void * opaque, SDL_Window * window)
this->useNearest))
{
if (!this->waitFadeTime)
this->waitFadeTime = microtime() + SPLASH_FADE_TIME;
{
if (!this->params.quickSplash)
this->waitFadeTime = microtime() + SPLASH_FADE_TIME;
else
this->waitDone = true;
}
egl_cursor_render(this->cursor);
}