Hides AltJIT setting on unsupported devices
This commit is contained in:
parent
f14bb0f890
commit
9492f3165e
@ -150,6 +150,10 @@ private extension MelonDSCoreSettingsViewController
|
||||
|
||||
switch section
|
||||
{
|
||||
case .performance:
|
||||
guard Settings.preferredCore(for: .ds) == MelonDS.core else { return true }
|
||||
return !UIDevice.current.supportsJIT
|
||||
|
||||
case .dsBIOS where Settings.preferredCore(for: .ds) == DS.core:
|
||||
// Using DeSmuME core, which doesn't require BIOS.
|
||||
return true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user