handle hardcore mode toggle for cheevos-new

This commit is contained in:
meleu 2019-05-03 01:59:05 -03:00 committed by GitHub
parent 8b0f083a4e
commit 7b47787887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3271,6 +3271,7 @@ static int action_ok_cheevos_toggle_hardcore_mode(const char *path,
{
#ifdef HAVE_CHEEVOS
cheevos_hardcore_paused = !cheevos_hardcore_paused;
rcheevos_hardcore_paused = !rcheevos_hardcore_paused;
#endif
generic_action_ok_command(CMD_EVENT_CHEEVOS_HARDCORE_MODE_TOGGLE);
return generic_action_ok_command(CMD_EVENT_RESUME);