Disable OK button for cheevos

This commit is contained in:
twinaphex 2016-11-06 13:02:19 +01:00
parent 18537d9cb4
commit a57cb22da8

View File

@ -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)
{