Merge pull request #5634 from vadosnaprimer/throttling_tweak

Don't force throttling while paused
This commit is contained in:
R. Belmont 2019-09-16 22:59:10 -04:00 committed by GitHub
commit deb672ba98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -808,7 +808,7 @@ int video_manager::effective_frameskip() const
inline bool video_manager::effective_throttle() const
{
// if we're paused, or if the UI is active, we always throttle
if (machine().paused()) //|| machine().ui().is_menu_active())
if (machine().paused() && !machine().options().update_in_pause()) //|| machine().ui().is_menu_active())
return true;
// if we're fast forwarding, we don't throttle