Browse Source

android: Always use custom settings when launched from intent

pull/15/merge
t895 2 years ago
parent
commit
87a9dc9489
  1. 5
      src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt

5
src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt

@ -128,8 +128,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
return return
} }
if (args.custom) {
SettingsFile.loadCustomConfig(args.game!!)
// Always load custom settings when launching a game from an intent
if (args.custom || intentGame != null) {
SettingsFile.loadCustomConfig(game)
NativeConfig.unloadPerGameConfig() NativeConfig.unloadPerGameConfig()
} else { } else {
NativeConfig.reloadGlobalConfig() NativeConfig.reloadGlobalConfig()

Loading…
Cancel
Save