diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-12-30 00:44:07 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-12-30 00:44:07 +0100 |
commit | 62704aee31e809fdcefaac67bb35a30f20804fa3 (patch) | |
tree | 4d60c427b6e7f285307709b3a761b3f716979778 | |
parent | 1cf49e0dbe74007a077f3c032b28e335fccb6d75 (diff) |
* make savestate SRAM reloc disabled by default (confusing behavior)
* add config entry for keeping track of whether the main window is maximized
-rw-r--r-- | src/Config.cpp | 4 | ||||
-rw-r--r-- | src/Config.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Config.cpp b/src/Config.cpp index f0c7c4c..c423b5b 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -39,6 +39,7 @@ int HKJoyMapping[HK_MAX]; int WindowWidth; int WindowHeight; +int WindowMaximized; int ScreenRotation; int ScreenGap; @@ -109,6 +110,7 @@ ConfigEntry ConfigFile[] = {"WindowWidth", 0, &WindowWidth, 256, NULL, 0}, {"WindowHeight", 0, &WindowHeight, 384, NULL, 0}, + {"WindowMax", 0, &WindowMaximized, 0, NULL, 0}, {"ScreenRotation", 0, &ScreenRotation, 0, NULL, 0}, {"ScreenGap", 0, &ScreenGap, 0, NULL, 0}, @@ -124,7 +126,7 @@ ConfigEntry ConfigFile[] = {"SockBindAnyAddr", 0, &SocketBindAnyAddr, 0, NULL, 0}, - {"SavStaRelocSRAM", 0, &SavestateRelocSRAM, 1, NULL, 0}, + {"SavStaRelocSRAM", 0, &SavestateRelocSRAM, 0, NULL, 0}, {"AudioVolume", 0, &AudioVolume, 256, NULL, 0}, {"MicInputType", 0, &MicInputType, 1, NULL, 0}, diff --git a/src/Config.h b/src/Config.h index b112309..92ac77c 100644 --- a/src/Config.h +++ b/src/Config.h @@ -44,6 +44,7 @@ extern int HKJoyMapping[HK_MAX]; extern int WindowWidth; extern int WindowHeight; +extern int WindowMaximized; extern int ScreenRotation; extern int ScreenGap; |