Merge pull request #6664 from meleu/patch-21

don't allow slow motion if cheevos enabled
This commit is contained in:
Twinaphex 2018-04-30 18:13:28 +02:00 committed by GitHub
commit 54f54fce28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2970,7 +2970,9 @@ static enum runloop_state runloop_check_state(
} }
/* Checks if slowmotion toggle/hold was being pressed and/or held. */ /* Checks if slowmotion toggle/hold was being pressed and/or held. */
#ifdef HAVE_CHEEVOS
if (!settings->bools.cheevos_enable)
#endif
{ {
static bool old_slowmotion_button_state = false; static bool old_slowmotion_button_state = false;
static bool old_slowmotion_hold_button_state = false; static bool old_slowmotion_hold_button_state = false;