aboutsummaryrefslogtreecommitdiff
path: root/src/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.cpp')
-rw-r--r--src/Config.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index dcbad9b..677af96 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -28,6 +28,11 @@ namespace Config
int KeyMapping[12];
int JoyMapping[12];
+int WindowWidth;
+int WindowHeight;
+
+int DirectBoot;
+
typedef struct
{
char Name[16];
@@ -67,6 +72,11 @@ ConfigEntry ConfigFile[] =
{"Joy_X", 0, &JoyMapping[10], -1, NULL, 0},
{"Joy_Y", 0, &JoyMapping[11], -1, NULL, 0},
+ {"WindowWidth", 0, &WindowWidth, 256, NULL, 0},
+ {"WindowHeight", 0, &WindowHeight, 384, NULL, 0},
+
+ {"DirectBoot", 0, &DirectBoot, 1, NULL, 0},
+
{"", -1, NULL, 0, NULL, 0}
};