mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
bugfix: code and state not swapped
This commit is contained in:
parent
801bae65e3
commit
977eac2601
1 changed files with 2 additions and 2 deletions
|
@ -691,11 +691,11 @@ static void menu_action_setting_disp_set_label_cheat(
|
|||
if ( cheat_manager_state.cheats[cheat_index].handler == CHEAT_HANDLER_TYPE_EMU)
|
||||
{
|
||||
snprintf(s, len, "(%s) : %s",
|
||||
(cheat_manager_get_code(cheat_index) != NULL)
|
||||
? cheat_manager_get_code(cheat_index) :
|
||||
cheat_manager_get_code_state(cheat_index) ?
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON) :
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
(cheat_manager_get_code(cheat_index) != NULL)
|
||||
? cheat_manager_get_code(cheat_index) :
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue