From 33383cdaa727deb627bf65f865515327947a0720 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 15 Feb 2019 01:45:24 +0100 Subject: video: stop frameskipping constantly on screenless systems with frameskip=0 (nw) --- src/emu/video.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/emu/video.cpp b/src/emu/video.cpp index a13ba49cca5..64e918d7011 100644 --- a/src/emu/video.cpp +++ b/src/emu/video.cpp @@ -849,9 +849,10 @@ bool video_manager::finish_screen_updates() for (screen_device &screen : iter) screen.update_partial(screen.visible_area().max_y); - // now add the quads for all the screens - bool anything_changed = m_output_changed; + bool anything_changed = (iter.count() == 0) || m_output_changed; m_output_changed = false; + + // now add the quads for all the screens for (screen_device &screen : iter) if (screen.update_quads()) anything_changed = true; -- cgit v1.2.3