Previous 199869 Revisions Next

r36599 Tuesday 24th March, 2015 at 09:37:17 UTC by Oliver Stöneberg
made -[no]dummywrite DEBUG only and removed it from the official documentation (nw)
[src/emu]emuopts.c emuopts.h video.c
[src/osd/sdl/man]mame.6 mess.6

trunk/src/emu/emuopts.c
r245110r245111
6161   { OPTION_RECORD ";rec",                              NULL,        OPTION_STRING,     "record an input file" },
6262   { OPTION_MNGWRITE,                                   NULL,        OPTION_STRING,     "optional filename to write a MNG movie of the current session" },
6363   { OPTION_AVIWRITE,                                   NULL,        OPTION_STRING,     "optional filename to write an AVI movie of the current session" },
64#ifdef MAME_DEBUG
65   { OPTION_DUMMYWRITE,                                 "0",         OPTION_BOOLEAN,    "indicates if a snapshot should be created if each frame" },
66#endif
6467   { OPTION_WAVWRITE,                                   NULL,        OPTION_STRING,     "optional filename to write a WAV file of the current session" },
6568   { OPTION_SNAPNAME,                                   "%g/%i",     OPTION_STRING,     "override of the default snapshot/movie naming; %g == gamename, %i == index" },
6669   { OPTION_SNAPSIZE,                                   "auto",      OPTION_STRING,     "specify snapshot/movie resolution (<width>x<height>) or 'auto' to use minimal size " },
r245110r245111
6871   { OPTION_SNAPBILINEAR,                               "1",         OPTION_BOOLEAN,    "specify if the snapshot/movie should have bilinear filtering applied" },
6972   { OPTION_STATENAME,                                  "%g",        OPTION_STRING,     "override of the default state subfolder naming; %g == gamename" },
7073   { OPTION_BURNIN,                                     "0",         OPTION_BOOLEAN,    "create burn-in snapshots for each screen" },
71   { OPTION_DUMMYWRITE,                                 "0",         OPTION_BOOLEAN,    "indicates if a snapshot should be created if each frame" },
7274
7375   // performance options
7476   { NULL,                                              NULL,        OPTION_HEADER,     "CORE PERFORMANCE OPTIONS" },
trunk/src/emu/emuopts.h
r245110r245111
7373#define OPTION_RECORD               "record"
7474#define OPTION_MNGWRITE             "mngwrite"
7575#define OPTION_AVIWRITE             "aviwrite"
76#ifdef MAME_DEBUG
7677#define OPTION_DUMMYWRITE           "dummywrite"
78#endif
7779#define OPTION_WAVWRITE             "wavwrite"
7880#define OPTION_SNAPNAME             "snapname"
7981#define OPTION_SNAPSIZE             "snapsize"
r245110r245111
242244   const char *record() const { return value(OPTION_RECORD); }
243245   const char *mng_write() const { return value(OPTION_MNGWRITE); }
244246   const char *avi_write() const { return value(OPTION_AVIWRITE); }
247#ifdef MAME_DEBUG
245248   bool dummy_write() const { return bool_value(OPTION_DUMMYWRITE); }
249#endif
246250   const char *wav_write() const { return value(OPTION_WAVWRITE); }
247251   const char *snap_name() const { return value(OPTION_SNAPNAME); }
248252   const char *snap_size() const { return value(OPTION_SNAPSIZE); }
trunk/src/emu/video.c
r245110r245111
154154   if (filename[0] != 0)
155155      begin_recording(filename, MF_AVI);
156156   
157#ifdef MAME_DEBUG
157158   m_dummy_recording = machine.options().dummy_write();
159#endif
158160
159161   // if no screens, create a periodic timer to drive updates
160162   if (machine.first_screen() == NULL)
trunk/src/osd/sdl/man/mame.6
r245110r245111
448448a low alpha (e.g, 0.1\-0.2 seems to work well) and blended over the
449449entire screen. The PNG files are saved in the snap directory under
450450the gamename\\burnin\-<screen.name>.png. The default is OFF (\-noburnin).
451.TP
452.B \-[no]dummywrite
453Indicates whether a snapshot should be created with each frame.
454451.\"
455452.\" *******************************************************
456453.SS Performance options
trunk/src/osd/sdl/man/mess.6
r245110r245111
463463a low alpha (e.g, 0.1\-0.2 seems to work well) and blended over the
464464entire screen. The PNG files are saved in the snap directory under
465465the system/burnin\-<screen.name>.png. The default is OFF (\-noburnin).
466.TP
467.B \-[no]dummywrite
468Indicates whether a snapshot should be created with each frame.
469466.\"
470467.\" *******************************************************
471468.SS Performance options


Previous 199869 Revisions Next


© 1997-2024 The MAME Team