summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.h
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.h
parent0d70d798107d4e4e8fb9f230410aeb1e888d65c5 (diff)
parent6379bf581489df72694b1c42cc7436ca0f1d89b2 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r--src/emu/emuopts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h
index a449c5d95a1..60de574bb22 100644
--- a/src/emu/emuopts.h
+++ b/src/emu/emuopts.h
@@ -51,6 +51,8 @@
// core state/playback options
#define OPTION_STATE "state"
#define OPTION_AUTOSAVE "autosave"
+#define OPTION_REWIND "rewind"
+#define OPTION_REWIND_CAPACITY "rewind_capacity"
#define OPTION_PLAYBACK "playback"
#define OPTION_RECORD "record"
#define OPTION_RECORD_TIMECODE "record_timecode"
@@ -327,6 +329,8 @@ public:
// core state/playback options
const char *state() const { return value(OPTION_STATE); }
bool autosave() const { return bool_value(OPTION_AUTOSAVE); }
+ int rewind() const { return bool_value(OPTION_REWIND); }
+ int rewind_capacity() const { return int_value(OPTION_REWIND_CAPACITY); }
const char *playback() const { return value(OPTION_PLAYBACK); }
const char *record() const { return value(OPTION_RECORD); }
bool record_timecode() const { return bool_value(OPTION_RECORD_TIMECODE); }