mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 09:41:14 +00:00
Fixups to display in history.
This commit is contained in:
parent
5293f0e1fc
commit
62e2586116
@ -73,7 +73,7 @@ void rom_history_push(rom_history_t *hist,
|
||||
// Seen it before, bump to top.
|
||||
struct rom_history_entry tmp = hist->entries[i];
|
||||
memmove(hist->entries + 1, hist->entries,
|
||||
(i - 1) * sizeof(struct rom_history_entry));
|
||||
i * sizeof(struct rom_history_entry));
|
||||
hist->entries[0] = tmp;
|
||||
return;
|
||||
}
|
||||
|
@ -527,6 +527,11 @@ static void render_text(rgui_handle_t *rgui)
|
||||
w = 5;
|
||||
}
|
||||
}
|
||||
else if (menu_type == RGUI_SETTINGS_OPEN_HISTORY)
|
||||
{
|
||||
*type_str = '\0';
|
||||
w = 0;
|
||||
}
|
||||
else if (type >= RGUI_SETTINGS_CORE_OPTION_START)
|
||||
strlcpy(type_str, core_option_get_val(g_extern.system.core_options, type - RGUI_SETTINGS_CORE_OPTION_START), sizeof(type_str));
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user