From e0146b0ed08a4f9c8da7c143888e385086ff9b5d Mon Sep 17 00:00:00 2001 From: Antonio Giner Date: Thu, 25 Apr 2024 16:47:38 +0200 Subject: [PATCH] Always update screen when syncrefresh is on, fixes wrong speed on certain games (crusnusa, etc.) --- src/emu/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/video.cpp b/src/emu/video.cpp index 152f14e1f77b5..021e7f4403bd9 100644 --- a/src/emu/video.cpp +++ b/src/emu/video.cpp @@ -233,7 +233,7 @@ void video_manager::frame_update(bool from_debugger) // if none of the screens changed and we haven't skipped too many frames in a row, // mark this frame as skipped to prevent throttling; this helps for games that // don't update their screen at the monitor refresh rate - if (!anything_changed && !m_auto_frameskip && (m_frameskip_level == 0) && (m_empty_skip_count++ < 3)) + if (!m_syncrefresh && !anything_changed && !m_auto_frameskip && (m_frameskip_level == 0) && (m_empty_skip_count++ < 3)) skipped_it = true; else m_empty_skip_count = 0;