summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2011-06-03 16:38:05 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2011-06-03 16:38:05 +0000
commit2082b37969d28509cf7898b81500ea62ee498f93 (patch)
tree325ce7a83becf6d63e89ee081e7ecda54fd9de00 /src/emu/emuopts.c
parentad8a4985f9902b1246026abb195dd1a68b96bd2b (diff)
emuopts: added confirm_quit option (defaults to off). when on, pressing ESC you are prompted with
a 'confirm quit' screen rather than directly quit emulation. [MamePlus Team, Mamesick, Fabio Priuli] out of whatsnew: feel free to suggest a better quit message, if you don't like the one I added.
Diffstat (limited to 'src/emu/emuopts.c')
-rw-r--r--src/emu/emuopts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c
index 37a40056a99..8cd688986c8 100644
--- a/src/emu/emuopts.c
+++ b/src/emu/emuopts.c
@@ -188,6 +188,7 @@ const options_entry emu_options::s_option_entries[] =
{ OPTION_SKIP_GAMEINFO, "0", OPTION_BOOLEAN, "skip displaying the information screen at startup" },
{ OPTION_UI_FONT, "default", OPTION_STRING, "specify a font to use" },
{ OPTION_RAMSIZE ";ram", NULL, OPTION_STRING, "size of RAM (if supported by driver)" },
+ { OPTION_CONFIRM_QUIT, "0", OPTION_BOOLEAN, "display confirm quit screen on exit" },
{ NULL }
};