diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-12-26 14:04:39 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-12-26 14:04:39 -0500 |
commit | a72b3e4ae676858b3a79350912e6b627dd204b17 (patch) | |
tree | c77cdac72b966b6280cf08a09905e6d78c8cdc02 /src/emu/emuopts.h | |
parent | a8ba61af028fb93aa9b58f3ee34b2b19884d78d3 (diff) |
Add option to disable saving NVRAM on exit
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r-- | src/emu/emuopts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h index 60de574bb22..e079b7082f1 100644 --- a/src/emu/emuopts.h +++ b/src/emu/emuopts.h @@ -168,6 +168,7 @@ #define OPTION_UI_FONT "uifont" #define OPTION_UI "ui" #define OPTION_RAMSIZE "ramsize" +#define OPTION_NVRAM_SAVE "nvram_save" // core comm options #define OPTION_COMM_LOCAL_HOST "comm_localhost" @@ -444,6 +445,7 @@ public: const char *ui_font() const { return value(OPTION_UI_FONT); } ui_option ui() const { return m_ui; } const char *ram_size() const { return value(OPTION_RAMSIZE); } + bool nvram_save() const { return bool_value(OPTION_NVRAM_SAVE); } // core comm options const char *comm_localhost() const { return value(OPTION_COMM_LOCAL_HOST); } |