diff options
author | 2008-06-16 16:34:51 +0000 | |
---|---|---|
committer | 2008-06-16 16:34:51 +0000 | |
commit | 69ba0bd294625f681cb7a479046237618be60c54 (patch) | |
tree | e1a4bcb647f4de2cfd87de3f6e029ce7f185e374 /src/emu/ui.c | |
parent | a93fb6b1bf8407a52efdbfa333e5dc8d128daf13 (diff) |
Cleaned up software bilinear filtering code. Added bounds checking.
Enabled by default for snapshots and movie rendering.
Added new option: -snapsize, which lets you specify the target
resolution for snapshots and movies. The existing behavior is still
the default: create snapshots and movies at native pixel
resolutions.
Added new option: -snapview, which lets you specify a particular
view to use for rendering snapshots and movies. The existing
behavior is still the default: use a special internal view and
render each screen to its own snapshot in its own file. When using
this option to specify a view other than 'internal', only a single
snapshot file will be produced regardless of how many screens the
game has.
Improved AVI and MNG recording to properly duplicate/skip frames
as appropriate to keep the correct framerate.
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c index 425b11390c8..b72d504fe17 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -1315,14 +1315,14 @@ static UINT32 handler_ingame(running_machine *machine, UINT32 state) /* toggle movie recording */ if (input_ui_pressed(machine, IPT_UI_RECORD_MOVIE)) { - if (!video_mng_is_movie_active(machine->primary_screen)) + if (!video_mng_is_movie_active(machine)) { - video_mng_begin_recording(machine->primary_screen, NULL); + video_mng_begin_recording(machine, NULL); popmessage("REC START"); } else { - video_mng_end_recording(machine->primary_screen); + video_mng_end_recording(machine); popmessage("REC STOP"); } } |