
fuse.fmfx_stop.diff
By:
sbaldovi on
May 2nd, 2011 | syntax:
Diff | size: 2.08 KB | hits: 68 | expires: Never
Index: man/fuse.1
===================================================================
--- man/fuse.1 (revision 4398)
+++ man/fuse.1 (working copy)
@@ -485,6 +485,17 @@
section
.RE
.PP
+.I \-\-movie-stop-after-rzx
+.RS
+With this command line option, Fuse stop movie recording when RZX playback
+ends or RZX recording ends. (Enabled by default, but you can use
+.RI ` \-\-no\-movie-stop-after-rzx'
+to disable).
+See also the
+.B "MOVIE RECORDING"
+section
+.RE
+.PP
.I \-\-movie-compr level
.RS
if Fuse compiled with Zlib support, this option you can set the compression
Index: settings.dat
===================================================================
--- settings.dat (revision 4398)
+++ settings.dat (working copy)
@@ -67,6 +67,7 @@
pal_tv2x, boolean, 0
movie_compr, string, NULL
movie_start, string, NULL
+movie_stop_after_rzx, boolean, 1
plusd, boolean, 0
beta128, boolean, 0
late_timings, boolean, 0
Index: rzx.c
===================================================================
--- rzx.c (revision 4398)
+++ rzx.c (working copy)
@@ -37,6 +37,7 @@
#include "event.h"
#include "fuse.h"
#include "machine.h"
+#include "movie.h"
#include "rzx.h"
#include "settings.h"
#include "snapshot.h"
@@ -203,6 +204,7 @@
/* Stop recording data */
rzx_recording = 0;
+ if( settings_current.movie_stop_after_rzx ) movie_stop();
ui_menu_activate( UI_MENU_ITEM_RECORDING, 0 );
ui_menu_activate( UI_MENU_ITEM_RECORDING_ROLLBACK, 0 );
@@ -376,6 +378,7 @@
libspectrum_error libspec_error; int error;
rzx_playback = 0;
+ if( settings_current.movie_stop_after_rzx ) movie_stop();
ui_menu_activate( UI_MENU_ITEM_RECORDING, 0 );
ui_menu_activate( UI_MENU_ITEM_RECORDING_ROLLBACK, 0 );
Index: ui/options.dat
===================================================================
--- ui/options.dat (revision 4398)
+++ ui/options.dat (working copy)
@@ -91,3 +91,4 @@
#else
Combo, Movie (c)ompression, movie_compr, INPUT_KEY_c, *None
#endif
+Checkbox, (S)top recording after RZX ends, movie_stop_after_rzx, INPUT_KEY_S