android: Always use custom settings when launched from intent

master
t895 2023-12-12 13:40:00 +07:00
parent 6c6e8b8de0
commit 87a9dc9489
1 changed files with 3 additions and 2 deletions

@ -128,8 +128,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
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()
} else {
NativeConfig.reloadGlobalConfig()