mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Merge pull request #3755 from heuripedes/master
(material) Reduce CPU usage in big lists by 3
This commit is contained in:
commit
1b3dd8e049
@ -662,10 +662,12 @@ static void mui_render_menu_list(mui_handle_t *mui,
|
||||
{
|
||||
int y;
|
||||
size_t selection;
|
||||
char rich_label[PATH_MAX_LENGTH] = {0};
|
||||
char entry_value[PATH_MAX_LENGTH] = {0};
|
||||
char rich_label[PATH_MAX_LENGTH];
|
||||
char entry_value[PATH_MAX_LENGTH];
|
||||
bool entry_selected = false;
|
||||
|
||||
rich_label[0] = entry_value[0] = '\0';
|
||||
|
||||
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user