Skip to content

Commit

Permalink
Always update screen when syncrefresh is on, fixes wrong speed on cer…
Browse files Browse the repository at this point in the history
…tain games (crusnusa, etc.)
  • Loading branch information
antonioginer committed Apr 25, 2024
1 parent f25d1ae commit e0146b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emu/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0146b0

Please # to comment.