diff --git a/base/main.cpp b/base/main.cpp index 3ea38b5..8e1ee54 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -66,6 +66,7 @@ #endif #include "backends/keymapper/keymapper.h" +#include "gui/message.h" #if defined(_WIN32_WCE) #include "backends/platform/wince/CELauncherDialog.h" @@ -455,6 +456,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { // Now as the event manager is created, setup the keymapper setupKeymapper(system); + // Hack to initialize graphics + GUI::TimedMessageDialog hackdialog("", 0); + hackdialog.runModal(); + // Unless a game was specified, show the launcher dialog if (0 == ConfMan.getActiveDomain()) launcherDialog();