mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
do not display applying cheat message unless there are actually cheats (#7348)
* do not display applying cheat message unless there are actually cheats * code style * style
This commit is contained in:
parent
64b2e6ea5f
commit
7271cba7f0
@ -88,8 +88,12 @@ void cheat_manager_apply_cheats(void)
|
|||||||
core_set_cheat(&cheat_info);
|
core_set_cheat(&cheat_info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
runloop_msg_queue_push(msg_hash_to_str(MSG_APPLYING_CHEAT), 1, 180, true);
|
|
||||||
RARCH_LOG("%s\n", msg_hash_to_str(MSG_APPLYING_CHEAT));
|
if (cheat_manager_state.size > 0)
|
||||||
|
{
|
||||||
|
runloop_msg_queue_push(msg_hash_to_str(MSG_APPLYING_CHEAT), 1, 180, true);
|
||||||
|
RARCH_LOG("%s\n", msg_hash_to_str(MSG_APPLYING_CHEAT));
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_CHEEVOS
|
#ifdef HAVE_CHEEVOS
|
||||||
data_bool = idx != 0;
|
data_bool = idx != 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user