src/neutrino.cpp: fix show logo on start

This commit is contained in:
2018-10-02 22:05:12 +02:00
parent 19c6f76056
commit 9ee2cccc04

View File

@@ -2430,6 +2430,7 @@ TIMER_START();
g_videoSettings->setVideoSettings();
frameBuffer->showFrame(LOGODIR "/logo.jpg");
bool startlogo = frameBuffer->showFrame("logo.jpg");
g_RCInput = new CRCInput();
@@ -2557,6 +2558,12 @@ TIMER_START();
startwizard.exec(NULL, "");
}
// clean up startlogo
if (startlogo){
sleep(3);
frameBuffer->stopFrame();
}
if(loadSettingsErg) {
hintBox->hide();
dprintf(DEBUG_INFO, "config file or options missing\n");