This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

fuse.fmfx_stop.diff

By: sbaldovi on May 2nd, 2011  |  syntax: Diff  |  size: 2.08 KB  |  views: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Index: man/fuse.1
  2. ===================================================================
  3. --- man/fuse.1  (revision 4398)
  4. +++ man/fuse.1  (working copy)
  5. @@ -485,6 +485,17 @@
  6.  section
  7.  .RE
  8.  .PP
  9. +.I \-\-movie-stop-after-rzx
  10. +.RS
  11. +With this command line option, Fuse stop movie recording when RZX playback
  12. +ends or RZX recording ends.  (Enabled by default, but you can use
  13. +.RI ` \-\-no\-movie-stop-after-rzx'
  14. +to disable).
  15. +See also the
  16. +.B "MOVIE RECORDING"
  17. +section
  18. +.RE
  19. +.PP
  20.  .I \-\-movie-compr level
  21.  .RS
  22.  if Fuse compiled with Zlib support, this option you can set the compression
  23. Index: settings.dat
  24. ===================================================================
  25. --- settings.dat        (revision 4398)
  26. +++ settings.dat        (working copy)
  27. @@ -67,6 +67,7 @@
  28.  pal_tv2x, boolean, 0
  29.  movie_compr, string, NULL
  30.  movie_start, string, NULL
  31. +movie_stop_after_rzx, boolean, 1
  32.  plusd, boolean, 0
  33.  beta128, boolean, 0
  34.  late_timings, boolean, 0
  35. Index: rzx.c
  36. ===================================================================
  37. --- rzx.c       (revision 4398)
  38. +++ rzx.c       (working copy)
  39. @@ -37,6 +37,7 @@
  40.  #include "event.h"
  41.  #include "fuse.h"
  42.  #include "machine.h"
  43. +#include "movie.h"
  44.  #include "rzx.h"
  45.  #include "settings.h"
  46.  #include "snapshot.h"
  47. @@ -203,6 +204,7 @@
  48.  
  49.    /* Stop recording data */
  50.    rzx_recording = 0;
  51. +  if( settings_current.movie_stop_after_rzx ) movie_stop();
  52.  
  53.    ui_menu_activate( UI_MENU_ITEM_RECORDING, 0 );
  54.    ui_menu_activate( UI_MENU_ITEM_RECORDING_ROLLBACK, 0 );
  55. @@ -376,6 +378,7 @@
  56.    libspectrum_error libspec_error; int error;
  57.  
  58.    rzx_playback = 0;
  59. +  if( settings_current.movie_stop_after_rzx ) movie_stop();
  60.  
  61.    ui_menu_activate( UI_MENU_ITEM_RECORDING, 0 );
  62.    ui_menu_activate( UI_MENU_ITEM_RECORDING_ROLLBACK, 0 );
  63. Index: ui/options.dat
  64. ===================================================================
  65. --- ui/options.dat      (revision 4398)
  66. +++ ui/options.dat      (working copy)
  67. @@ -91,3 +91,4 @@
  68.  #else
  69.  Combo, Movie (c)ompression, movie_compr, INPUT_KEY_c, *None
  70.  #endif
  71. +Checkbox, (S)top recording after RZX ends, movie_stop_after_rzx, INPUT_KEY_S
clone this paste RAW Paste Data