do not display applying cheat message unless there are actually cheats

This commit is contained in:
Sven 2018-10-02 13:58:58 -04:00
parent 075a5eff5a
commit c204d7b33f

View File

@ -88,8 +88,11 @@ 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;