remember window size.

fix extra shit.
This commit is contained in:
StapleButter
2017-03-29 20:12:03 +02:00
parent 2ae2fedf21
commit f88226c99f
4 changed files with 32 additions and 12 deletions

View File

@ -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}
};