(cheevos) This needs to be behind HAVE_CHEEVOS ifdefs

This commit is contained in:
twinaphex 2018-09-23 12:25:31 +02:00
parent 35764a7200
commit 540270d3ed

View File

@ -1908,8 +1908,10 @@ bool command_event(enum event_command cmd, void *data)
command_event_init_controllers();
break;
case CMD_EVENT_RESET:
#ifdef HAVE_CHEEVOS
cheevos_state_loaded_flag = false;
cheevos_hardcore_paused = false;
#endif
RARCH_LOG("%s.\n", msg_hash_to_str(MSG_RESET));
runloop_msg_queue_push(msg_hash_to_str(MSG_RESET), 1, 120, true);