summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/ui.c
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2014-02-02 13:13:59 +0000
committer Nathan Woods <npwoods@mess.org>2014-02-02 13:13:59 +0000
commit8d5dea174a766572715cf98b564c10607841fc8c (patch)
tree86623f595d9e5996d9556ce79498354001c013de /src/emu/ui/ui.c
parent0d0ae43b09bf4c6acd6fe5021166ef1ed842c900 (diff)
Introduced a toggle_record_movie() method
Diffstat (limited to 'src/emu/ui/ui.c')
-rw-r--r--src/emu/ui/ui.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/emu/ui/ui.c b/src/emu/ui/ui.c
index b7a54718e22..d4a4dc6afd3 100644
--- a/src/emu/ui/ui.c
+++ b/src/emu/ui/ui.c
@@ -1590,18 +1590,7 @@ UINT32 ui_manager::handler_ingame(running_machine &machine, render_container *co
// toggle movie recording
if (ui_input_pressed(machine, IPT_UI_RECORD_MOVIE))
- {
- if (!machine.video().is_recording())
- {
- machine.video().begin_recording(NULL, video_manager::MF_MNG);
- popmessage("REC START");
- }
- else
- {
- machine.video().end_recording();
- popmessage("REC STOP");
- }
- }
+ machine.video().toggle_record_movie();
// toggle profiler display
if (ui_input_pressed(machine, IPT_UI_SHOW_PROFILER))