Better start l0dable with no keys pressed. Most don't like it.
This commit is contained in:
parent
1083f8aa4f
commit
b9e054c08c
|
@ -122,10 +122,12 @@ int selectFile(char *filename, const char *extension)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BTN_LEFT:
|
case BTN_LEFT:
|
||||||
|
getInputWaitRelease();
|
||||||
return -1;
|
return -1;
|
||||||
case BTN_ENTER:
|
case BTN_ENTER:
|
||||||
case BTN_RIGHT:
|
case BTN_RIGHT:
|
||||||
strcpy(filename, files[selected]);
|
strcpy(filename, files[selected]);
|
||||||
|
getInputWaitRelease();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue