summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-07 01:39:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-07 01:56:53 +0300
commit9ea6291b7259de2935d1a8fe3b45ef8eb2c67ede (patch)
treef30d5dfa2419260ada62144dc63e1dcb2ee92198 /src/maingui.cpp
parentbfe9b1eeb587254d92c3ebb338b50ce1e7dfac79 (diff)
downloadmv-9ea6291b7259de2935d1a8fe3b45ef8eb2c67ede.tar.gz
mv-9ea6291b7259de2935d1a8fe3b45ef8eb2c67ede.tar.bz2
mv-9ea6291b7259de2935d1a8fe3b45ef8eb2c67ede.tar.xz
mv-9ea6291b7259de2935d1a8fe3b45ef8eb2c67ede.zip
Add SDL2 errors logging.
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();