From 3b87c19b5bd245a25b2ee3b08c27e57ddf3b8142 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 1 Jun 2022 10:20:32 +0200 Subject: [PATCH] - fixed startuo screen creation --- src/common/platform/posix/cocoa/st_start.mm | 4 ++-- src/common/platform/posix/sdl/st_start.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/platform/posix/cocoa/st_start.mm b/src/common/platform/posix/cocoa/st_start.mm index 5900c75775..8e4ae4bf94 100644 --- a/src/common/platform/posix/cocoa/st_start.mm +++ b/src/common/platform/posix/cocoa/st_start.mm @@ -132,7 +132,7 @@ bool FBasicStartupScreen::NetLoop(bool (*timerCallback)(void*), void* const user // --------------------------------------------------------------------------- -FStartupScreen *FStartupScreen::CreateInstance(const int maxProgress) +FStartupScreen *FStartupScreen::CreateInstance(const int maxProgress, bool showprogress) { - return new FBasicStartupScreen(maxProgress, true); + return new FBasicStartupScreen(maxProgress, showprogress); } diff --git a/src/common/platform/posix/sdl/st_start.cpp b/src/common/platform/posix/sdl/st_start.cpp index 3d37246adf..d372e79bc0 100644 --- a/src/common/platform/posix/sdl/st_start.cpp +++ b/src/common/platform/posix/sdl/st_start.cpp @@ -85,7 +85,7 @@ static const char SpinnyProgressChars[4] = { '|', '/', '-', '\\' }; // //========================================================================== -FStartupScreen *FStartupScreen::CreateInstance(int max_progress) +FStartupScreen *FStartupScreen::CreateInstance(int max_progress, bool) { return new FTTYStartupScreen(max_progress); }