mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix cheevos messages
This commit is contained in:
parent
ad5d78b63e
commit
f190909aae
@ -1499,11 +1499,15 @@ static int generic_action_ok_help(const char *path,
|
||||
entry_idx, ACTION_OK_DL_HELP);
|
||||
}
|
||||
|
||||
extern unsigned menu_dialog_current_id;
|
||||
|
||||
static int action_ok_cheevos(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
unsigned new_id = type - MENU_SETTINGS_CHEEVOS_START;
|
||||
|
||||
menu_dialog_current_id = new_id;
|
||||
|
||||
return generic_action_ok_help(path, label, new_id, idx, entry_idx,
|
||||
MENU_ENUM_LABEL_CHEEVOS_DESCRIPTION,
|
||||
MENU_DIALOG_HELP_CHEEVOS_DESCRIPTION);
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
static bool menu_dialog_pending_push = false;
|
||||
static bool menu_dialog_active = false;
|
||||
static unsigned menu_dialog_current_id = 0;
|
||||
unsigned menu_dialog_current_id = 0;
|
||||
static enum menu_dialog_type menu_dialog_current_type = MENU_DIALOG_NONE;
|
||||
static enum msg_hash_enums menu_dialog_current_msg = MSG_UNKNOWN;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user