summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 2513a9211..4561fd427 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -49,6 +49,8 @@
#endif // SDL_VERSIONNUM
#ifdef UNITTESTS
+#include "utils/cpu.h"
+#include "resources/dye/dyepalette.h"
#ifdef UNITTESTS_CATCH
#define CATCH_CONFIG_RUNNER
#include "test/catch.hpp"
@@ -146,6 +148,8 @@ int mainGui(int argc, char *argv[])
int main(int argc, char *argv[])
{
VirtFs::init(argv[0]);
+ Cpu::detect();
+ DyePalette::initFunctions();
#ifdef UNITTESTS_CATCH
return Catch::Session().run(argc, argv);
#elif defined(UNITTESTS_DOCTEST)