mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 01:12:33 +00:00
(GLUI) Fix missing quit entry
This commit is contained in:
parent
4920af94f5
commit
8172a0ff59
@ -115,7 +115,7 @@ static void glui_frame(void)
|
||||
begin = driver.menu->selection_ptr - glui_term_height / 2;
|
||||
end = (driver.menu->selection_ptr + glui_term_height <=
|
||||
file_list_get_size(driver.menu->selection_buf)) ?
|
||||
driver.menu->selection_ptr + glui_term_height :
|
||||
driver.menu->selection_ptr + glui_term_height - 1 :
|
||||
file_list_get_size(driver.menu->selection_buf);
|
||||
|
||||
/* Do not scroll if all items are visible. */
|
||||
@ -125,8 +125,6 @@ static void glui_frame(void)
|
||||
if (end - begin > glui_term_height)
|
||||
end = begin + glui_term_height;
|
||||
|
||||
end -= 1;
|
||||
|
||||
glui_render_background();
|
||||
|
||||
char title[256];
|
||||
|
Loading…
x
Reference in New Issue
Block a user