diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-24 22:58:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-24 23:37:03 +0300 |
commit | 3480f3ad939e2ae5d0191ed739a57e834658c32e (patch) | |
tree | 268acbda26a8a4e4849362f681e95ed8b4a6de16 /src/maingui.cpp | |
parent | c3699037bc32dd43ae1b5501261808eb3425697c (diff) | |
download | plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.tar.gz plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.tar.bz2 plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.tar.xz plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.zip |
Switch in replaceSColor into using custom despatcher.
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r-- | src/maingui.cpp | 4 |
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) |