Change the semantics of -savedir option

Now trailing '@' is replaced with the game id.
This commit is contained in:
kichikuou
2020-02-23 12:02:29 +09:00
parent f880eba7a4
commit d6aaf31b1a
2 changed files with 18 additions and 13 deletions
@@ -62,7 +62,7 @@ class GameActivity : SDLActivity() {
override fun getArguments(): Array<String> {
return arrayOf("-antialias",
"-gamedir", intent.getStringExtra(EXTRA_GAME_ROOT),
"-savedir", intent.getStringExtra(EXTRA_SAVE_DIR) + "/")
"-savedir", intent.getStringExtra(EXTRA_SAVE_DIR) + "/@")
}
override fun setTitle(title: CharSequence?) {