Automatically disables AltJIT for non-BETA builds

This commit is contained in:
Riley Testut 2023-02-27 12:51:14 -06:00
parent 68ad2185dd
commit dd314a12af

View File

@ -70,6 +70,9 @@ struct Settings
#if !BETA #if !BETA
// Manually set MelonDS as preferred DS core in case DeSmuME is cached from a previous version. // Manually set MelonDS as preferred DS core in case DeSmuME is cached from a previous version.
UserDefaults.standard.set(MelonDS.core.identifier, forKey: Settings.preferredCoreSettingsKey(for: .ds)) UserDefaults.standard.set(MelonDS.core.identifier, forKey: Settings.preferredCoreSettingsKey(for: .ds))
// Manually disable AltJIT for public builds.
UserDefaults.standard.isAltJITEnabled = false
#endif #endif
} }
} }