aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2020-10-28 19:45:50 +0100
committerRSDuck <rsduck@users.noreply.github.com>2020-10-28 19:45:50 +0100
commitc03d83b7befa8586422faebd55f7844db4e7a715 (patch)
tree9233e711ba912bbce0eec0e0674f740dc124249c /src/frontend
parent49a96f41daa53ffa5dc4a46bdac4ee68f0b7eaee (diff)
remove qt_sdl dependency from frontend util
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/SharedConfig.h13
-rw-r--r--src/frontend/Util_ROM.cpp2
2 files changed, 14 insertions, 1 deletions
diff --git a/src/frontend/SharedConfig.h b/src/frontend/SharedConfig.h
new file mode 100644
index 0000000..b4b18c5
--- /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 f61c3e3..9f22f5f 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"