Commit 733a227
committed
Validates MenuToggleKey (0-402)
In title update 3788, Control values <0 or >402 are defaulted back to 0 in `CONTROL_*` natives, which is `INPUT_NEXT_CAMERA` (V). Historically, such as in vMenu, -1 was passed to `MenuToggleKey` when wanting to disable the Menu Toggle Key, but with TU3788, -1 becomes 0, meaning the key get unintentionally bound regardless.1 parent 9a7195a commit 733a227
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
| |||
441 | 449 | | |
442 | 450 | | |
443 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
444 | 458 | | |
445 | 459 | | |
446 | 460 | | |
| |||
754 | 768 | | |
755 | 769 | | |
756 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
757 | 776 | | |
758 | 777 | | |
759 | 778 | | |
| |||
0 commit comments