From dd314a12af669e0756413108c4b341062b6b6616 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Mon, 27 Feb 2023 12:51:14 -0600 Subject: [PATCH] Automatically disables AltJIT for non-BETA builds --- Delta/Settings/Settings.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Delta/Settings/Settings.swift b/Delta/Settings/Settings.swift index 0d06860..7dfcc81 100644 --- a/Delta/Settings/Settings.swift +++ b/Delta/Settings/Settings.swift @@ -70,6 +70,9 @@ struct Settings #if !BETA // 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)) + + // Manually disable AltJIT for public builds. + UserDefaults.standard.isAltJITEnabled = false #endif } }