mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Fix unsigned bug in RGUI.
This commit is contained in:
parent
d7797f8497
commit
7c3e4ef12d
@ -1476,7 +1476,7 @@ int rgui_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||
break;
|
||||
|
||||
case RGUI_ACTION_LEFT:
|
||||
if (rgui->selection_ptr - 8 > 0)
|
||||
if (rgui->selection_ptr > 8)
|
||||
rgui->selection_ptr -= 8;
|
||||
else
|
||||
rgui->selection_ptr = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user