mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Moved the application updater result fetch prior to the startup time log message.
This commit is contained in:
parent
c9a59994a6
commit
a752761937
|
@ -791,17 +791,17 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
lastTime = SDL_GetTicks();
|
lastTime = SDL_GetTicks();
|
||||||
|
|
||||||
|
#if defined(APPLICATION_UPDATER)
|
||||||
|
if (ApplicationUpdater::getInstance().getResults())
|
||||||
|
ViewController::getInstance()->updateAvailableDialog();
|
||||||
|
#endif
|
||||||
|
|
||||||
LOG(LogInfo) << "Application startup time: "
|
LOG(LogInfo) << "Application startup time: "
|
||||||
<< std::chrono::duration_cast<std::chrono::milliseconds>(
|
<< std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||||
std::chrono::system_clock::now() - applicationStartTime)
|
std::chrono::system_clock::now() - applicationStartTime)
|
||||||
.count()
|
.count()
|
||||||
<< " ms";
|
<< " ms";
|
||||||
|
|
||||||
#if defined(APPLICATION_UPDATER)
|
|
||||||
if (ApplicationUpdater::getInstance().getResults())
|
|
||||||
ViewController::getInstance()->updateAvailableDialog();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Open the input configuration GUI if the force flag was passed from the command line.
|
// Open the input configuration GUI if the force flag was passed from the command line.
|
||||||
if (forceInputConfig) {
|
if (forceInputConfig) {
|
||||||
ViewController::getInstance()->cancelViewTransitions();
|
ViewController::getInstance()->cancelViewTransitions();
|
||||||
|
|
Loading…
Reference in a new issue