summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.cpp
diff options
context:
space:
mode:
author Firehawke <Firehawke@users.noreply.github.com>2017-12-13 20:52:42 -0700
committer Firehawke <Firehawke@users.noreply.github.com>2017-12-13 20:52:42 -0700
commitf537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4 (patch)
tree7160ed8d2cbe2127aaaef0a21f8736403b0f8a7c /src/emu/emuopts.cpp
parent0d70d798107d4e4e8fb9f230410aeb1e888d65c5 (diff)
parent6379bf581489df72694b1c42cc7436ca0f1d89b2 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/emu/emuopts.cpp')
-rw-r--r--src/emu/emuopts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
index 11e369f0aca..4fd91155fd2 100644
--- a/src/emu/emuopts.cpp
+++ b/src/emu/emuopts.cpp
@@ -62,6 +62,8 @@ const options_entry emu_options::s_option_entries[] =
{ nullptr, nullptr, OPTION_HEADER, "CORE STATE/PLAYBACK OPTIONS" },
{ OPTION_STATE, nullptr, OPTION_STRING, "saved state to load" },
{ OPTION_AUTOSAVE, "0", OPTION_BOOLEAN, "enable automatic restore at startup, and automatic save at exit time" },
+ { OPTION_REWIND, "0", OPTION_BOOLEAN, "enable rewind savestates" },
+ { OPTION_REWIND_CAPACITY "(1-500)", "100", OPTION_INTEGER, "quantity of states rewind buffer can contain" },
{ OPTION_PLAYBACK ";pb", nullptr, OPTION_STRING, "playback an input file" },
{ OPTION_RECORD ";rec", nullptr, OPTION_STRING, "record an input file" },
{ OPTION_RECORD_TIMECODE, "0", OPTION_BOOLEAN, "record an input timecode file (requires -record option)" },