mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #999 from lakkatv/lakka
(GLUI) Fix missing quit entry
This commit is contained in:
commit
7c930163bf
@ -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