summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index bb1abf5ae..fc3df1b98 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -52,6 +52,8 @@ PRAGMA48(GCC diagnostic pop)
#endif // SDL_VERSIONNUM
#ifdef UNITTESTS
+#include "logger.h"
+
#include "utils/cpu.h"
#include "utils/sdlhelper.h"
#include "resources/dye/dyepalette.h"
@@ -151,6 +153,7 @@ int mainGui(int argc, char *argv[])
int main(int argc, char *argv[])
{
+ logger = new Logger;
SDL::initLogger();
VirtFs::init(argv[0]);
Cpu::detect();