summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/ui.cpp
diff options
context:
space:
mode:
author Michele Fochi <michele.fochi@gmail.com>2016-02-08 13:25:25 +0100
committer Michele Fochi <michele.fochi@gmail.com>2016-02-08 13:25:25 +0100
commitf736cd5abcea21c8b2c8c4f2d2909952856ac22d (patch)
tree0f5534e9cdc09f97fd5d0445cd679f5be09d24b6 /src/emu/ui/ui.cpp
parent34bc216ef9b17e6464910fc678119a4c3670356d (diff)
Added new options:
-[no]exit_after_playback (default=no) -[no]record_input (default=no) Added new UI shortcut to save current timecode (default F12) Translated variable names and comments to english language
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r--src/emu/ui/ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp
index 860da34e212..af60e5de777 100644
--- a/src/emu/ui/ui.cpp
+++ b/src/emu/ui/ui.cpp
@@ -1648,6 +1648,10 @@ UINT32 ui_manager::handler_ingame(running_machine &machine, render_container *co
machine.ui().image_handler_ingame();
+ // handle a save input timecode request
+ if (machine.ui_input().pressed(IPT_UI_TIMECODE))
+ machine.video().save_input_timecode();
+
if (ui_disabled) return ui_disabled;
if (machine.ui_input().pressed(IPT_UI_CANCEL))