Default to not change battery on state load.

This is a more reasonable and less destructive default.

Fix #781.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2021-02-09 15:01:22 +00:00
parent 1b6d9557a2
commit 8a3456f823
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
2 changed files with 4 additions and 2 deletions

View File

@ -228,7 +228,7 @@ int showSpeedTransparent;
int sizeX;
int sizeY;
int skipBios = 0;
int skipSaveGameBattery = false;
int skipSaveGameBattery = true;
int skipSaveGameCheats = false;
int soundRecording;
int speedupToggle;
@ -554,7 +554,7 @@ void LoadConfig()
showSpeed = ReadPref("showSpeed", 0);
showSpeedTransparent = ReadPref("showSpeedTransparent", 1);
skipBios = ReadPref("skipBios", 0);
skipSaveGameBattery = ReadPref("skipSaveGameBattery", 0);
skipSaveGameBattery = ReadPref("skipSaveGameBattery", 1);
skipSaveGameCheats = ReadPref("skipSaveGameCheats", 0);
soundFiltering = (float)ReadPref("gbaSoundFiltering", 50) / 100.0f;
soundInterpolation = ReadPref("gbaSoundInterpolation", 1);

View File

@ -374,6 +374,8 @@ opts_t::opts_t()
link_port = 5738;
hide_menu_bar = true;
skipSaveGameBattery = true;
}
// for binary_search() and friends