summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 205d8c6d1..4279472bd 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -64,6 +64,7 @@ PRAGMA48(GCC diagnostic pop)
#endif // UNITTESTS_DOCTEST
#else // UNITTESTS
#include "utils/xml.h"
+#include "utils/sdlhelper.h"
#endif // UNITTESTS
#define SDL_IMAGE_COMPILEDVERSION \
@@ -150,6 +151,7 @@ int mainGui(int argc, char *argv[])
int main(int argc, char *argv[])
{
+ SDL::initLogger();
VirtFs::init(argv[0]);
Cpu::detect();
DyePalette::initFunctions();