small fixes

- On a switch lite, the home and cap buttons do weird things, so we should disable m
- File deletions should wait a bit
This commit is contained in:
suchmememanyskill
2021-01-11 21:22:24 +01:00
parent d27832effb
commit 86db030bda
3 changed files with 10 additions and 3 deletions

View File

@@ -142,6 +142,7 @@ char *ShowKeyboard(const char *toEdit, u8 alwaysRet){
}
int val = (input->up || input->down) ? 11 : 1;
// Btn buttons do not work lol
if (input->buttons & (JoyLLeft | JoyLUp | BtnVolM)){
if (pos > -1 + val)
pos -= val;