mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
made -[no]dummywrite DEBUG only and removed it from the official documentation (nw)
This commit is contained in:
parent
1e09899b01
commit
442aedc911
@ -61,6 +61,9 @@ const options_entry emu_options::s_option_entries[] =
|
||||
{ OPTION_RECORD ";rec", NULL, OPTION_STRING, "record an input file" },
|
||||
{ OPTION_MNGWRITE, NULL, OPTION_STRING, "optional filename to write a MNG movie of the current session" },
|
||||
{ OPTION_AVIWRITE, NULL, OPTION_STRING, "optional filename to write an AVI movie of the current session" },
|
||||
#ifdef MAME_DEBUG
|
||||
{ OPTION_DUMMYWRITE, "0", OPTION_BOOLEAN, "indicates if a snapshot should be created if each frame" },
|
||||
#endif
|
||||
{ OPTION_WAVWRITE, NULL, OPTION_STRING, "optional filename to write a WAV file of the current session" },
|
||||
{ OPTION_SNAPNAME, "%g/%i", OPTION_STRING, "override of the default snapshot/movie naming; %g == gamename, %i == index" },
|
||||
{ OPTION_SNAPSIZE, "auto", OPTION_STRING, "specify snapshot/movie resolution (<width>x<height>) or 'auto' to use minimal size " },
|
||||
@ -68,7 +71,6 @@ const options_entry emu_options::s_option_entries[] =
|
||||
{ OPTION_SNAPBILINEAR, "1", OPTION_BOOLEAN, "specify if the snapshot/movie should have bilinear filtering applied" },
|
||||
{ OPTION_STATENAME, "%g", OPTION_STRING, "override of the default state subfolder naming; %g == gamename" },
|
||||
{ OPTION_BURNIN, "0", OPTION_BOOLEAN, "create burn-in snapshots for each screen" },
|
||||
{ OPTION_DUMMYWRITE, "0", OPTION_BOOLEAN, "indicates if a snapshot should be created if each frame" },
|
||||
|
||||
// performance options
|
||||
{ NULL, NULL, OPTION_HEADER, "CORE PERFORMANCE OPTIONS" },
|
||||
|
@ -73,7 +73,9 @@ enum
|
||||
#define OPTION_RECORD "record"
|
||||
#define OPTION_MNGWRITE "mngwrite"
|
||||
#define OPTION_AVIWRITE "aviwrite"
|
||||
#ifdef MAME_DEBUG
|
||||
#define OPTION_DUMMYWRITE "dummywrite"
|
||||
#endif
|
||||
#define OPTION_WAVWRITE "wavwrite"
|
||||
#define OPTION_SNAPNAME "snapname"
|
||||
#define OPTION_SNAPSIZE "snapsize"
|
||||
@ -242,7 +244,9 @@ public:
|
||||
const char *record() const { return value(OPTION_RECORD); }
|
||||
const char *mng_write() const { return value(OPTION_MNGWRITE); }
|
||||
const char *avi_write() const { return value(OPTION_AVIWRITE); }
|
||||
#ifdef MAME_DEBUG
|
||||
bool dummy_write() const { return bool_value(OPTION_DUMMYWRITE); }
|
||||
#endif
|
||||
const char *wav_write() const { return value(OPTION_WAVWRITE); }
|
||||
const char *snap_name() const { return value(OPTION_SNAPNAME); }
|
||||
const char *snap_size() const { return value(OPTION_SNAPSIZE); }
|
||||
|
@ -154,7 +154,9 @@ video_manager::video_manager(running_machine &machine)
|
||||
if (filename[0] != 0)
|
||||
begin_recording(filename, MF_AVI);
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
m_dummy_recording = machine.options().dummy_write();
|
||||
#endif
|
||||
|
||||
// if no screens, create a periodic timer to drive updates
|
||||
if (machine.first_screen() == NULL)
|
||||
|
@ -448,9 +448,6 @@ The intention is that this PNG can be loaded via an artwork file with
|
||||
a low alpha (e.g, 0.1\-0.2 seems to work well) and blended over the
|
||||
entire screen. The PNG files are saved in the snap directory under
|
||||
the gamename\\burnin\-<screen.name>.png. The default is OFF (\-noburnin).
|
||||
.TP
|
||||
.B \-[no]dummywrite
|
||||
Indicates whether a snapshot should be created with each frame.
|
||||
.\"
|
||||
.\" *******************************************************
|
||||
.SS Performance options
|
||||
|
@ -463,9 +463,6 @@ The intention is that this PNG can be loaded via an artwork file with
|
||||
a low alpha (e.g, 0.1\-0.2 seems to work well) and blended over the
|
||||
entire screen. The PNG files are saved in the snap directory under
|
||||
the system/burnin\-<screen.name>.png. The default is OFF (\-noburnin).
|
||||
.TP
|
||||
.B \-[no]dummywrite
|
||||
Indicates whether a snapshot should be created with each frame.
|
||||
.\"
|
||||
.\" *******************************************************
|
||||
.SS Performance options
|
||||
|
Loading…
Reference in New Issue
Block a user