mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
port: forgot the constant
This commit is contained in:
1 parent
5084b4be39
commit
4f7817a0ca
1 file changed
+1
-1
+1
-1
@@ -1464,7 +1464,7 @@ bool menuitemKeyboardTick(struct menuitem *item, struct menuinputs *inputs, u32
|
||||
kb->row += inputs->updown;
|
||||
|
||||
if (kb->row < 0) {
|
||||
kb->row = 5;
|
||||
kb->row = MENU_KEYBOARD_ROWS - 1;
|
||||
}
|
||||
|
||||
if (kb->row > MENU_KEYBOARD_ROWS - 1) {
|
||||
|
||||
Reference in new issue
Block a user