From c03d83b7befa8586422faebd55f7844db4e7a715 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Wed, 28 Oct 2020 19:45:50 +0100 Subject: [PATCH] remove qt_sdl dependency from frontend util --- src/frontend/SharedConfig.h | 13 +++++++++++++ src/frontend/Util_ROM.cpp | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/frontend/SharedConfig.h diff --git a/src/frontend/SharedConfig.h b/src/frontend/SharedConfig.h new file mode 100644 index 00000000..b4b18c5f --- /dev/null +++ b/src/frontend/SharedConfig.h @@ -0,0 +1,13 @@ +#ifndef SHAREDCONFIG_H +#define SHAREDCONFIG_H + +namespace Config +{ + +extern int ConsoleType; +extern int DirectBoot; +extern int SavestateRelocSRAM; + +} + +#endif \ No newline at end of file diff --git a/src/frontend/Util_ROM.cpp b/src/frontend/Util_ROM.cpp index f61c3e3e..9f22f5f5 100644 --- a/src/frontend/Util_ROM.cpp +++ b/src/frontend/Util_ROM.cpp @@ -21,7 +21,7 @@ #include "FrontendUtil.h" #include "Config.h" -#include "qt_sdl/PlatformConfig.h" // FIXME!!! +#include "SharedConfig.h" #include "Platform.h" #include "NDS.h"