mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 18:39:55 +00:00
Reset the flag on reset
This commit is contained in:
parent
c4d678a1ce
commit
a0339e95ec
@ -2266,7 +2266,8 @@ bool cheevos_toggle_hardcore_mode(void)
|
||||
return false;
|
||||
|
||||
/* reset and deinit rewind to avoid cheat the score */
|
||||
if (settings->bools.cheevos_hardcore_mode_enable && !cheevos_hardcore_paused)
|
||||
if (settings->bools.cheevos_hardcore_mode_enable
|
||||
&& !cheevos_hardcore_paused)
|
||||
{
|
||||
const char *msg = msg_hash_to_str(
|
||||
MSG_CHEEVOS_HARDCORE_MODE_ENABLE);
|
||||
|
@ -1908,6 +1908,8 @@ bool command_event(enum event_command cmd, void *data)
|
||||
command_event_init_controllers();
|
||||
break;
|
||||
case CMD_EVENT_RESET:
|
||||
cheevos_state_loaded_flag = false;
|
||||
cheevos_hardcore_paused = false;
|
||||
RARCH_LOG("%s.\n", msg_hash_to_str(MSG_RESET));
|
||||
runloop_msg_queue_push(msg_hash_to_str(MSG_RESET), 1, 120, true);
|
||||
|
||||
|
@ -7544,5 +7544,5 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_CHEEVOS_HARDCORE_MODE_DISABLED,
|
||||
"Savestate loaded, Achievements Hardcore Mode disabled for the current session."
|
||||
"A savestate was loaded, Achievements Hardcore Mode disabled for the current session. Restart to enable hardcore mode."
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user