Skip to content

Display and control your Android device

Do not arbitrary limit --max-fps to 1000

Romain Vimont928f8b8eb395
diff --git a/app/src/cli.c b/app/src/cli.c
index 69a918c3..df73edac 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -1315,7 +1315,7 @@ parse_max_size(const char *s, uint16_t *max_size) {
static bool
parse_max_fps(const char *s, uint16_t *max_fps) {
long value;
- bool ok = parse_integer_arg(s, &value, false, 0, 1000, "max fps");
+ bool ok = parse_integer_arg(s, &value, false, 0, 0xFFFF, "max fps");
if (!ok) {
return false;
}