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:
Sven 2018-10-02 14:10:17 -04:00 committed by bparker06
parent 64b2e6ea5f
commit 7271cba7f0

View File

@ -88,8 +88,12 @@ void cheat_manager_apply_cheats(void)
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
data_bool = idx != 0;