mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Disable OK button for cheevos
This commit is contained in:
parent
18537d9cb4
commit
a57cb22da8
@ -1499,8 +1499,7 @@ static int generic_action_ok_help(const char *path,
|
||||
entry_idx, ACTION_OK_DL_HELP);
|
||||
}
|
||||
|
||||
extern unsigned menu_dialog_current_id;
|
||||
|
||||
#if 0
|
||||
static int action_ok_cheevos(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
@ -1512,6 +1511,7 @@ static int action_ok_cheevos(const char *path,
|
||||
MENU_ENUM_LABEL_CHEEVOS_DESCRIPTION,
|
||||
MENU_DIALOG_HELP_CHEEVOS_DESCRIPTION);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void menu_input_st_cheat_cb(void *userdata, const char *str)
|
||||
{
|
||||
@ -3975,10 +3975,12 @@ static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
BIND_ACTION_OK(cbs, NULL);
|
||||
}
|
||||
#if 0
|
||||
else if ((type >= MENU_SETTINGS_CHEEVOS_START))
|
||||
{
|
||||
BIND_ACTION_OK(cbs, action_ok_cheevos);
|
||||
}
|
||||
#endif
|
||||
else if (type >= MENU_SETTINGS_CHEAT_BEGIN
|
||||
&& type <= MENU_SETTINGS_CHEAT_END)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user