Disables AltJIT by default

melonDS save states created with JIT enabled cannot be loaded later without JIT, which made it very easy to accidentally replace a save state with one that could only be loaded when JIT is available.

We plan to remove AltJIT eventually for this reason, but for now we’ll just disable it by default.
This commit is contained in:
Riley Testut 2022-05-31 17:59:01 -07:00
parent d4e22942b8
commit 973238e1a4

View File

@ -61,7 +61,7 @@ struct Settings
#keyPath(UserDefaults.isThumbstickHapticFeedbackEnabled): true, #keyPath(UserDefaults.isThumbstickHapticFeedbackEnabled): true,
#keyPath(UserDefaults.sortSaveStatesByOldestFirst): true, #keyPath(UserDefaults.sortSaveStatesByOldestFirst): true,
#keyPath(UserDefaults.isPreviewsEnabled): true, #keyPath(UserDefaults.isPreviewsEnabled): true,
#keyPath(UserDefaults.isAltJITEnabled): true, #keyPath(UserDefaults.isAltJITEnabled): false,
Settings.preferredCoreSettingsKey(for: .ds): MelonDS.core.identifier] as [String : Any] Settings.preferredCoreSettingsKey(for: .ds): MelonDS.core.identifier] as [String : Any]
UserDefaults.standard.register(defaults: defaults) UserDefaults.standard.register(defaults: defaults)