mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
remember window size.
fix extra shit.
This commit is contained in:
@ -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}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user