Disable auto-fix checksum by default.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sun, 3 Apr 2016 00:44:48 +0000 (20:44 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sun, 3 Apr 2016 00:44:48 +0000 (20:44 -0400)
It causes more problems than it helps solve due to ROMs that use
non-standard checksum algorithms.

src/gens-qt4/Config/ConfigDefaults.cpp
src/gens-sdl/Options.cpp
src/libgens/EmuContext/EmuContext.cpp

index e7ad5ba..71c1395 100644 (file)
@@ -45,7 +45,7 @@ const ConfigDefaults::DefaultSetting ConfigDefaults::DefaultSettings[] =
        {"iKnowWhatImDoingAndWillVoidTheWarranty", "false", 0, DefaultSetting::DEF_NO_SAVE, DefaultSetting::VT_BOOL, 0, 0},
 
        /** General settings. **/
-       {"autoFixChecksum",             "true", 0, 0,           DefaultSetting::VT_BOOL, 0, 0},
+       {"autoFixChecksum",             "false", 0, 0,          DefaultSetting::VT_BOOL, 0, 0},
        {"autoPause",                   "false", 0, 0,          DefaultSetting::VT_BOOL, 0, 0},
        {"pauseTint",                   "true", 0, 0,           DefaultSetting::VT_BOOL, 0, 0},
 
index 047f98a..6956bde 100644 (file)
@@ -114,7 +114,7 @@ void OptionsPrivate::reset(void)
 
        // Emulation options.
        sprite_limits = true;
-       auto_fix_checksum = true;
+       auto_fix_checksum = false;
 
        // UI options.
        fps_counter = true;
index 9d95294..6eb1408 100644 (file)
@@ -57,7 +57,7 @@ EmuContext *EmuContext::m_instance = nullptr;
 /**
  * Global settings.
  */
-bool EmuContext::ms_AutoFixChecksum = true;
+bool EmuContext::ms_AutoFixChecksum = false;
 string EmuContext::ms_PathSRam;
 string EmuContext::ms_TmssRomFilename;
 bool EmuContext::ms_TmssEnabled = false;