diff options
author | Aaron Giles <aaron@aarongiles.com> | 2010-10-21 06:01:17 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2010-10-21 06:01:17 +0000 |
commit | 3ae00656d4bd5240de5e8529071007e7c20986e6 (patch) | |
tree | b942960074ba1e253dec5c99b811785303f934f9 /src/emu/video.c | |
parent | 082621bd254754fe0ba1bc25dbc36520647cd2db (diff) |
Cleanups and version bump.mame0140
Diffstat (limited to 'src/emu/video.c')
-rw-r--r-- | src/emu/video.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/video.c b/src/emu/video.c index 1aa8cb2e774..dce8c1239ec 100644 --- a/src/emu/video.c +++ b/src/emu/video.c @@ -1611,7 +1611,7 @@ int video_get_view_for_target(running_machine *machine, render_target *target, c for (screen = screen_first(*machine); screen != NULL; screen = screen_next(screen)) if (index-- == 0) break; - + /* find the first view with this screen and this screen only */ for (viewindex = 0; ; viewindex++) { @@ -2098,11 +2098,11 @@ void screen_device::reset_origin(int beamy, int beamx) attotime curtime = timer_get_time(machine); m_vblank_end_time = attotime_sub_attoseconds(curtime, beamy * m_scantime + beamx * m_pixeltime); m_vblank_start_time = attotime_sub_attoseconds(m_vblank_end_time, m_vblank_period); - + // if we are resetting relative to (0,0) == VBLANK end, call the // scanline 0 timer by hand now; otherwise, adjust it for the future if (beamy == 0 && beamx == 0) - scanline0_callback(); + scanline0_callback(); else timer_adjust_oneshot(m_scanline0_timer, time_until_pos(0), 0); |