mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Merge pull request #7330 from RetroSven/master
add sublabels to the new cheat options
This commit is contained in:
commit
1f3bdde45c
@ -1970,6 +1970,18 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
|
||||
snprintf(s, len,
|
||||
"Address bitmask when Memory Search Size < 8-bit.\n");
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_REPEAT_COUNT:
|
||||
snprintf(s, len,
|
||||
"The number of times the cheat will be applied.\nUse with the other two Iteration options to affect large areas of memory.");
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_REPEAT_ADD_TO_ADDRESS:
|
||||
snprintf(s, len,
|
||||
"After each 'Number of Iterations' the Memory Address will be increased by this number times the 'Memory Search Size'.");
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_REPEAT_ADD_TO_VALUE:
|
||||
snprintf(s, len,
|
||||
"After each 'Number of Iterations' the Value will be increased by this amount.");
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_MATCH_IDX:
|
||||
snprintf(s, len,
|
||||
"Select the match to view.");
|
||||
|
@ -4915,6 +4915,18 @@ MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_CHEAT_APPLY_AFTER_LOAD,
|
||||
"Auto-apply cheats when game loads."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_CHEAT_REPEAT_COUNT,
|
||||
"The number of times the cheat will be applied. Use with the other two Iteration options to affect large areas of memory."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_CHEAT_REPEAT_ADD_TO_ADDRESS,
|
||||
"After each 'Number of Iterations' the Memory Address will be increased by this number times the 'Memory Search Size'."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_CHEAT_REPEAT_ADD_TO_VALUE,
|
||||
"After each 'Number of Iterations' the Value will be increased by this amount."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_REWIND_GRANULARITY,
|
||||
"When rewinding a defined number of frames, you can rewind several frames at a time, increasing the rewind speed."
|
||||
|
@ -232,6 +232,9 @@ default_sublabel_macro(action_bind_sublabel_cheat_search_eq, MENU_
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_search_neq, MENU_ENUM_SUBLABEL_CHEAT_SEARCH_NEQ)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_search_eqplus, MENU_ENUM_SUBLABEL_CHEAT_SEARCH_EQPLUS)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_search_eqminus, MENU_ENUM_SUBLABEL_CHEAT_SEARCH_EQMINUS)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_repeat_count, MENU_ENUM_SUBLABEL_CHEAT_REPEAT_COUNT)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_repeat_add_to_address, MENU_ENUM_SUBLABEL_CHEAT_REPEAT_ADD_TO_ADDRESS)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_repeat_add_to_value, MENU_ENUM_SUBLABEL_CHEAT_REPEAT_ADD_TO_VALUE)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_add_matches, MENU_ENUM_SUBLABEL_CHEAT_ADD_MATCHES)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_view_matches, MENU_ENUM_SUBLABEL_CHEAT_VIEW_MATCHES)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_create_option, MENU_ENUM_SUBLABEL_CHEAT_CREATE_OPTION)
|
||||
@ -1471,6 +1474,15 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_CHEAT_SEARCH_EQMINUS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_search_eqminus);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_REPEAT_COUNT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_repeat_count);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_REPEAT_ADD_TO_ADDRESS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_repeat_add_to_address);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_REPEAT_ADD_TO_VALUE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_repeat_add_to_value);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_ADD_MATCHES:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_add_matches);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user