Hides AltJIT setting for non-BETA builds

This commit is contained in:
Riley Testut 2023-02-27 12:35:36 -06:00
parent 66e5258368
commit 68ad2185dd

View File

@ -151,6 +151,9 @@ private extension MelonDSCoreSettingsViewController
switch section
{
case .performance:
// Hide AltJIT section for public builds.
guard isBeta else { return true }
guard Settings.preferredCore(for: .ds) == MelonDS.core else { return true }
return !UIDevice.current.supportsJIT