mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 23:02:47 +01:00
android: Always use custom settings when launched from intent
This commit is contained in:
parent
6c6e8b8de0
commit
87a9dc9489
1 changed files with 3 additions and 2 deletions
|
@ -128,8 +128,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.custom) {
|
// Always load custom settings when launching a game from an intent
|
||||||
SettingsFile.loadCustomConfig(args.game!!)
|
if (args.custom || intentGame != null) {
|
||||||
|
SettingsFile.loadCustomConfig(game)
|
||||||
NativeConfig.unloadPerGameConfig()
|
NativeConfig.unloadPerGameConfig()
|
||||||
} else {
|
} else {
|
||||||
NativeConfig.reloadGlobalConfig()
|
NativeConfig.reloadGlobalConfig()
|
||||||
|
|
Loading…
Reference in a new issue