disable slowmotion when enabling hardcore mode (#12958)

This commit is contained in:
Jamiras 2021-09-08 10:57:19 -06:00 committed by GitHub
parent 51b365b5e3
commit 8a31b732dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12218,6 +12218,9 @@ bool command_event(enum event_command cmd, void *data)
case CMD_EVENT_CHEEVOS_HARDCORE_MODE_TOGGLE:
#ifdef HAVE_CHEEVOS
rcheevos_toggle_hardcore_paused();
if (rcheevos_hardcore_active())
runloop_state.slowmotion = false;
#endif
break;
case CMD_EVENT_REINIT_FROM_TOGGLE: