Added maxincrementalsaves to the system.cfg & the setsettings.sh script
This commit is contained in:
parent
364f146137
commit
df82fdfec0
2 changed files with 3 additions and 2 deletions
|
@ -68,6 +68,7 @@ global.analogue=1
|
|||
global.audiolatency=32
|
||||
global.autosave=2
|
||||
global.incrementalsavestates=0
|
||||
global.maxincrementalsaves=0
|
||||
global.netplay=0
|
||||
global.netplay.port=55435
|
||||
global.netplay.relay=none
|
||||
|
|
|
@ -685,16 +685,16 @@ function set_rewind() {
|
|||
|
||||
function set_savestates() {
|
||||
local SAVESTATES="$(game_setting incrementalsavestates)"
|
||||
local MAXINCREMENTALSAVES="$(game_setting maxincrementalsaves)"
|
||||
case ${SAVESTATES} in
|
||||
0|false|none)
|
||||
add_setting "none" "savestate_auto_index" "false"
|
||||
add_setting "none" "savestate_max_keep" "50"
|
||||
;;
|
||||
*)
|
||||
add_setting "none" "savestate_auto_index" "true"
|
||||
add_setting "none" "savestate_max_keep" "0"
|
||||
;;
|
||||
esac
|
||||
add_setting "none" "savestate_max_keep" "${MAXINCREMENTALSAVES}"
|
||||
}
|
||||
|
||||
function set_autosave() {
|
||||
|
|
Loading…
Reference in a new issue