From 62704aee31e809fdcefaac67bb35a30f20804fa3 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sun, 30 Dec 2018 00:44:07 +0100 Subject: * make savestate SRAM reloc disabled by default (confusing behavior) * add config entry for keeping track of whether the main window is maximized --- src/Config.cpp | 4 +++- src/Config.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3