From 3480f3ad939e2ae5d0191ed739a57e834658c32e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 May 2017 22:58:07 +0300 Subject: Switch in replaceSColor into using custom despatcher. --- src/maingui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/maingui.cpp') 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) -- cgit v1.2.3-60-g2f50