Skip to content

Commit

Permalink
Ensures melonDS is preferred DS core for release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rileytestut committed Dec 2, 2021
1 parent 5f2e021 commit 394030a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Delta/Settings/Settings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ struct Settings
#keyPath(UserDefaults.isPreviewsEnabled): true,
Settings.preferredCoreSettingsKey(for: .ds): MelonDS.core.identifier] as [String : Any]
UserDefaults.standard.register(defaults: defaults)

#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))
#endif
}
}

Expand Down

0 comments on commit 394030a

Please sign in to comment.