Hides AltJIT setting for non-BETA builds
This commit is contained in:
parent
66e5258368
commit
68ad2185dd
@ -151,6 +151,9 @@ private extension MelonDSCoreSettingsViewController
|
|||||||
switch section
|
switch section
|
||||||
{
|
{
|
||||||
case .performance:
|
case .performance:
|
||||||
|
// Hide AltJIT section for public builds.
|
||||||
|
guard isBeta else { return true }
|
||||||
|
|
||||||
guard Settings.preferredCore(for: .ds) == MelonDS.core else { return true }
|
guard Settings.preferredCore(for: .ds) == MelonDS.core else { return true }
|
||||||
return !UIDevice.current.supportsJIT
|
return !UIDevice.current.supportsJIT
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user